"Ronald S. Cook" <rc***@westinis.comwrote in message
news:eC**************@TK2MSFTNGP02.phx.gbl...
Yeah, I went to object browser and I see a superset what shows up under
project references. How come those all don't show up there? What's the
difference between the two?
Thanks,
Ron
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:uM**************@TK2MSFTNGP06.phx.gbl...
>"Ronald S. Cook" <rc***@westinis.comschrieb:
>>Create a new Windows forms app and you can type
Imports System.Runtime.Remoting
and start working away.
How come I didn't need to add a reference to System.Runtime.Remoting?
Use the object browser to check out which DLLs contain the types
contained in the 'System.Runtime.Remoting' namespace.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Your "References" are references to specific assemblies and not to specified
namespaces. An assembly can (and does) contain multiple namespaces.
For example:
System.dll contains, among other namespaces:
System
System.CodeDom
System.IO
System.Web
Microsoft
Microsoft.CSharp
These are all different namespaces in the same assembly. One namespace can
also span multiple assemblies, for example:
System.dll contains the System.Web namespace.
System.Web.dll contains System.Web as well.
Now, for the namespace you mentioned, System.Runtime.Remoting...this
namespace is in mscorlib.dll, which is Microsoft's .Net core assembly. This
assembly is the core library for the .Net framework. Afaik, it is always
loaded for every application on the .Net framework. This assembly is not
shown in the projects "References".
HTH,
Mythran