Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C#
C# Reference
C# Compiler Options

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:

Want more? Here are some additional resources on this topic:

C# Language Reference 
C# Compiler Options 

The compiler produces executable (.exe) files, dynamic-link libraries (.dll), or code modules (.netmodule).

Every compiler option is available in two forms: -option and /option. The documentation only shows the /option form.

In This Section

Command-Line Building

Information about building a Visual C# application from the command line.

How to: Build from the Command Line

Provides steps for running vsvars32.bat to enable command-line builds.

Deployment of C# Applications

Describes options for deploying C# applications.

C# Compiler Options Listed by Category

A categorical listing of the compiler options.

C# Compiler Options Listed Alphabetically

An alphabetical listing of the compiler options.

Compiler Errors

A reference to the errors generated by the C# compiler.

Related Sections

How to: Set Project Properties (C#, J#)

Setting properties that govern how your project is compiled, built, and debugged. Includes information about custom build steps in Visual C# projects.

Default and Custom Builds

Information on build types and configurations.

Preparing and Managing Builds

Procedures for building within the Visual Studio development environment.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker