The Wayback Machine - https://web.archive.org/web/20170621130729/https://msdn.microsoft.com/en-us/library/jj157268.aspx
/WINMD (Generate Windows Metadata)
TOC
Collapse the table of content
Expand the table of content

/WINMD (Generate Windows Metadata)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at -WINMD (Generate Windows Metadata).

Enables generation of a Windows Runtime Metadata (.winmd) file.

/WINMD[:{NO|ONLY}]  

/WINMD
The default setting for Windows 8.x Store apps. The linker generates both the binary executable file and the .winmd metadata file.

/WINMD:NO
The linker generates only the binary executable file, but not a .winmd file.

/WINMD:ONLY
The linker generates only the .winmd file, but not the binary executable file.

By default, the output file name has the form binaryname.winmd. To specify a different file name, use the /WINMDFILE option.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Working with Project Properties.

  2. Select the Linker folder.

  3. Select the Windows Metadata property page.

  4. In the Generate Windows Metadata drop-down list box, select the option you want.

Setting Linker Options
Linker Options

Show:
© 2017 Microsoft
Morty Proxy This is a proxified and sanitized view of the page, visit original site.