all groups > dotnet clr > august 2003 >
You're in the

dotnet clr

group:

Question about Assembly.Load


Re: Question about Assembly.Load Marcelo Birnbach [MS]
8/28/2003 3:11:14 PM
dotnet clr:
mscorlib is a special case since you can only have one version of it per
process. When your managed application is started there is already a version
of mscorlib loaded in the process, so specifying the version of mscorlib is
completely redundant information.

Thanks,
Marcelo

[quoted text, click to view]

Question about Assembly.Load Lee Alexander
8/28/2003 5:16:21 PM
Why does Assembly.Load allow this:

Assembly.Load( "mscorlib" );

if you try the following it fails as expected:
Assembly.Load( "System" );

Since it should be (for framework 1.1):
Assembly.Load( "System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" );

I would have thought you would have had to do the same for mscorlib.

Assembly.Load( "mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" );



Anyone shed some light?


Regards
Lee



Re: Question about Assembly.Load Conrad Zhang
8/28/2003 10:16:18 PM
For Assembly.Load related question, nothing beats Suzanne's blog.

http://blogs.gotdotnet.com/suzcook/commentview.aspx/8b3ea0b4-d3f0-4d48-85e8-39850cf1b98d


[quoted text, click to view]

AddThis Social Bookmark Button