Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7948685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:47:36+00:00 2026-06-04T01:47:36+00:00

In MSDN, it is said that AppDomain.GetAssemblies() is supported in Silverlight 4 . In

  • 0

In MSDN, it is said that AppDomain.GetAssemblies() is supported in Silverlight 4.

In my project, when I target the version 4 of Silverlight (I triple checked), I can’t access to the GetAssemblies() method on AppDomain as shown in the screenshot below:

Cannot find GetAssemblies() method on AppDomain class in Silverlight 4

If I try anyway, it won’t compile. I can workaround this using the following piece of code:

dynamic domain = AppDomain.CurrentDomain;
var assemblies = domain.GetAssemblies();

It compiles and seem to be working fine but only under Silverlight client 5.X and Silverlight 4.0.60351 and above from my tests. It doesn’t work for below versions of the client.
The project in question is the entry point of my Silverlight application.

Googling on this topic mainly says that it is supported…

So my questions are:

  • a) Is it really supported and if so how can I use it to ensure it will always work as long as my clients are using any of the 4.X version?
  • b) How can I use AppDomain.CurrentDomain.GetAssemblies() in the IDE without the above workaround? Is there something I missed?

In case it can be useful, I have the following installed on my desktop:

  • Silverlight client 5.1.10411
  • Silverlight SDK 3, 4 and 5
  • Silverlight 4 Toolkit April 2010
  • Silverlight 4 Tools for VS2010

I didn’t try to uninstall/reinstall anything (yet) to avoid losing a whole day in this tedious task…

—

Edit: It appears that GetAssemblies() method is not present on AppDomain class in mscorlib.dll for SL4. So I guess MSDN documentation is incorrect and the runtime SL4 client has been patched at some point for some reason (compatibility with SL5-compiled applications?)…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:47:37+00:00Added an answer on June 4, 2026 at 1:47 am

    I also stumpled upon these (see my comment on MSDN page) behavior or wrong documentation in the MSDN and tried many diffrent ways to get the method call GetAssemblies in Siverlight 4. The solution for me was to install Silverlight 5 and change my silverlight project to work with Silverlight 5.

    My suggestion is that the method GetAssemblies was added later, by a patch or silverlight update to the silverlight runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

MSDN categorizes var under Types . variables that are declared at method scope can
MSDN said that BlockingCollection.Take call blocks if there is no elements in it. Does
Many articles (e.g. msdn ) have said that a circular reference cannot be cleaned
In the MSDN is clearly said that: The date argument cannot be incremented to
Short version: How can I get a regex that matches a@a.aaaa but not a@a.aaaaa
It is said here: http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx Silverlight does not support dynamic resources. All resource references
I am developing a WCF service which follows MSDN's service archetype . That said,
MSDN states that String.Intern retrieves the system's reference to the specified String and String.IsInterned
MSDN docs say that only value types need boxing, but this does not apply
MSDN says that public static members of System.Windows.Application are thread safe. But when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.