Namespaces and Assemblies
Table 1-6
allows you to look up a namespace and
determine which assemblies export that namespace. This information is
helpful when constructing the appropriate
/reference
:<file
list>
command-line option for the C#
compiler. However, commonly used assemblies are referenced by
default.
For a complete list of default assemblies, see the global C# response
file, csc.rsp
, in
%SystemRoot%\Microsoft.NET\Framework\VERSION,
where VERSION is the version number of the
framework (the first release of .NET is v1.0.3705). You can modify
csc.rsp to affect all compilations that run on
your machine, or you can create a local csc.rsp
in your current directory. The local response file is processed after
the global one. You can use the
/noconfig
switch with csc.exe to disable the local and
global csc.rsp files entirely.
Table 1-6. Namespace and assembly cross-reference
Namespace |
DLLs |
---|---|
|
Accessibility.dll |
|
envdte.dll |
|
IEExecRemote.dll |
|
mscorcfg.dll |
|
cscompmgd.dll System.dll |
|
IEHost.dll IIEHost.dll |
|
Microsoft.JScript.dll |
|
Microsoft.JScript.dll |
|
office.dll |
|
Microsoft.VisualBasic.dll System.dll |
|
Microsoft.VisualBasic.Compatibility.Data.dll Microsoft.VisualBasic.Compatibility.dll |
|
Get C# Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.