Assembly loading question


David zhu

I'm confused that if only the strong named assembly can't
be loaded successfully for different AssemblyVersion, or
it works on every assembly?



Dmitriy Lapshin [C# / .NET MVP]

Hello David,

I believe it depends on the assembly name components you specify in your
request to load the assembly. If you omit the version, I think the runtime
will be happy with any version given the supplied assembly name components
(such as the public key token and the culture) match. However, I am not sure
any assembly name component can be omitted.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Loading Assemblies 1
Assembly loading 1
Loading Assemblies 2
Assembly Loading Failure 3
Load Assembly Type.GetType("Class,Assembly") 4
Loading assemblies by name 4
load .NET assembly 5
Assembly dinamic load 1