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

VCLibrarianTool.OutputFile Property

Gets or sets the default output file name; the default is based on the first .lib or .obj name on the command line.

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

string OutputFile { get; set; }

Property Value

Type: System.String
The default output file name.

OutputFile exposes the functionality of the linker's /OUT (Output File Name) option, the librarian's Building an Import Library and Export File option, and the BSCMake tool's BSCMAKE Options option.