We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

VCPropertySheet.OutputDirectory Property

Gets or sets the directory in which to place output. The default directory is the project directory.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

string OutputDirectory { get; set; }

Property Value

Type: System.String
The directory in which to place output.

Wizards set this property. Do not use the project directory for the project outputs.