This documentation is archived and is not being maintained.

Build, Configuration Settings, <Projectname> Property Pages Dialog Box

Visual Studio .NET 2003

Sets the attributes for the project's executable or build output.

For information on how to access the Build property page in the Configuration Properties folder, see Setting Visual Basic Project Properties.

Output path
Specifies the directory in which output generated by the project should be placed. For client-based projects, this can be any valid file or Universal Naming Convention (UNC) path. For Web-based projects, any relative path within the project folder is allowed. By default, this is set to the Bin directory in the current project directory structure. To access this property programmatically, see OutputPath Property.
Generate debugging information
Specifies whether to emit debugging information during compilation. By default, Generate Debugging Information is turned off for the Release configuration and on for the Debug configuration. See /debug for more information. To access this property programmatically, see DebugSymbols Property.
Register for COM interop
Indicates that your managed application will expose a COM object (a COM-callable wrapper) that allows a COM object to interact with your managed application. The Output Type property of this application must be Class Library in order for this property to be available. See General, Common Properties, <Projectname> Property Pages Dialog Box for more information.

You can add a COM class to your project by selecting COM Class from the Add New Item dialog box.

To access this property programmatically, see RegisterForComInterop Property.

Warnings
Determines whether warnings will be raised during compilation and how they will be treated.
  • Enable build warnings

    Indicates that build warnings should be emitted to the Task List during compilation. To access this property programmatically, see WarningLevel Property.

  • Treat warnings as errors

    Indicates that build warnings should be treated as errors during compilation; a warning will cause no output file to be produced. To access this property programmatically, see TreatWarningsAsErrors Property.

Conditional compilation constants
Determines whether tracing and debugging statements should be compiled into the assembly or not.
  • Define DEBUG constant

    Defines DEBUG=1 for the compilation. To access this property programmatically, see DefineDebug Property.

  • Define TRACE constant

    Defines TRACE=1 for the compilation. To access this property programmatically, see DefineTrace Property.

  • Custom constants

    Allows you to define your own constants to use during compilation, in addition to the default DEBUG and TRACE constants that are provided for you. To access this property programmatically, see DefineConstants Property.

Smart Device Developer Notes

Register for COM interop
Not supported.

See Also

<Projectname> Property Pages Dialog Box

Show: