O'Reilly logo

C# Language Pocket Reference by Ted Neward, Ben Albahari, Peter Drayton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Accessibility.dll

EnvDTE

envdte.dll

IEHost.Execute

IEExecRemote.dll

Microsoft.CLRAdmin

mscorcfg.dll

Microsoft.CSharp

cscompmgd.dll

System.dll

Microsoft.IE

IEHost.dll

IIEHost.dll

Microsoft.JScript

Microsoft.JScript.dll

Microsoft.JScript.Vsa

Microsoft.JScript.dll

Microsoft.Office.Core

office.dll

Microsoft.VisualBasic

Microsoft.VisualBasic.dll

System.dll

Microsoft.VisualBasic. Compatibility.VB6

Microsoft.VisualBasic.Compatibility.Data.dll

Microsoft.VisualBasic.Compatibility.dll

Microsoft.VisualBasic.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required