A1. System is *ALSO* a separate, physical assembly (System.dll) with some
overlap with mscorlib.dll in terms of namespaces
A2. I'll wager that it's because it's in the GAC. Try gacutil /l mscorlib
to see if it is (it should be) and try removing it to see if your local copy
works, then.
---------------------------
http://blogs.geekdojo.net/Richard
--
Veuillez m'excuser, mon Français est très pauvre. Cependant, si vous voyez
mauvais C #, c'est mon défaut!
"Abdessamad Belangour" <be*******@irin.univ-nantes.fr> wrote in message
news:Oz*************@TK2MSFTNGP10.phx.gbl...
Hi all,
I have two questions about assemblies.
Q1. Why the GetReferencedAssemblies() Method of an Assembly class returns
sometimes "mscorlib" and "System" as referenced assemblies knowing that a
System is a namespace (not an assembly) within mscorlib assembly.
Q2. For test purposes i copy the "mscorlib.dll" assembly on my desktop and
then my program cannot load it. Meanwhile i load it from its origin
location without any problem. what's wrong ?
Thanks in advance.