VCCLCompilerTool.AdditionalOptions Property

 

Gets or sets options to add to the end of the command line immediately before the file name(s). An example is if an option is not supported in the object model.

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

No code example is currently available or this language may not be supported.

Property Value

Type: System.String

Options added to the end of the command line immediately before the file name(s)

The following example demonstrates how to use the EnablePREfast and AdditionalOptions properties to set the /analyze:WX- switch. (Both properties are required to do this.) Specifying /analyze:WX- means that code analysis warnings will not be treated as errors when compiling with /WX. For more information, see /analyze (Code Analysis).

No code example is currently available or this language may not be supported.
Return to top
Show: