Appendix E. Namespaces and Assemblies

This appendix 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 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.

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. CompilerServices

Microsoft.VisualBasic.dll ...

Get C# in a Nutshell 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.