Silverlight Assembly.Load() only works with the full/strong name

Posted by chris on Stack Overflow See other posts from Stack Overflow or by chris
Published on 2010-06-10T14:48:44Z Indexed on 2010/06/10 14:53 UTC
Read the original article Hit count: 300

Filed under:
|
|
|

Apparently the implementation of Assembly.Load() in Silverlight needs a full/strong name.

E.g. this works:

Assembly.Load("MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=...");

while this will fail even if MyAssembly is already loaded:

Assembly.Load("MyAssembly");

Is there a workaround so that it's possible to use the simple name?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET