|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Gets or sets a value indicating whether to enable cross-module optimizations by delaying code generation to link time.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
exposes the functionality of the compiler's /GL (Whole Program Optimization) option.
The compiler's version of this property and the linker's LinkTimeCodeGeneration property are not available via the property pages.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.