Appendix F. Namespaces and Assemblies

This appendix allows you to look up a namespace and determine what assemblies export that namespace. This information is helpful when constructing the appropriate /reference:< file list > command-line option for the C# compiler. Note that mscorlib.dll is implicitly referenced by the compiler unless the /nostdlib command-line option is used.

Namespace

DLLs

Accessibility

Accessibility.dll

IIEHost

IEHost.dll, IIEHost.dll

Microsoft.ASPXCompiler

Microsoft.ASPXCompiler.dll

Microsoft.ComServices

Microsoft.ComServices.dll

Microsoft.CSharp

cscompmgd.dll

Microsoft.JScript

Microsoft.JScript.dll

Microsoft.VisualBasic

Microsoft.VisualBasic.dll

Microsoft.VisualBasic.
Compatibility.VB6

Microsoft.VisualBasic.dll, Microsoft.VisualBasic.Compatibility.dll

Microsoft.VisualBasic.Helpers

Microsoft.VisualBasic.dll

Microsoft.VisualC

Microsoft.VisualC.dll

Microsoft.Vsa

Microsoft.Vsa.dll

Microsoft.Win32

mscorlib.dll

Microsoft.Win32.Interop

Microsoft.Win32.Interop.dll

Microsoft.Win32.Interop.
Trident

Microsoft.Win32.Interop.dll

System

mscorlib.dll, System.Net.dll

System.CodeDOM

System.dll

System.CodeDOM.Compiler

System.dll

System.Collections

mscorlib.dll,System.dll

System.Collections.Bases

System.dll

System.ComponentModel

mscorlib.dll, System.dll

System.ComponentModel.Design

System.dll,System.ComponentModel.Design.dll

System.ComponentModel.Design.CodeModel

System.dll

System.ComponentModel.Interop ...

Get C# Essentials 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.