Compiler and Linker options (Visual C++ for Windows Runtime)

Expand
2 out of 3 rated this helpful - Rate this topic

Compiler and Linker options (Visual C++ for Windows Runtime)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Visual C++ compiler and linker have options to support programming on the Windows Runtime.

/ZW enable WinRT language extensions
/AI<dir> add to assembly search path
  <dir> is the folder where the compiler searches the winmd files  
/FU<file> forced using assembly/module
  force the inclusion of the specified winmd file
/D "WINAPI_FAMILY=2"
  set this define to compile against the ModernSDK subset of Win32

/APPCONTAINER[:NO]
  marks the executable as runnable in the appcontainer (only)
/WINMD[:{NO|ONLY}]
  emits a winmd; if “ONLY” is specified, does not emit the executable, but just the winmd
/WINMDFILE:filename
  name of the winmd file to emit
/WINMDDELAYSIGN[:NO]
/WINMDKEYCONTAINER:name
/WINMDKEYFILE:filename
  used to sign the winmd  file

Did you find this helpful?
(1500 characters remaining)