Share via


/WINMD (Generate Windows Metadata)

 

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}]  

Remarks

/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.

See Also

Setting Linker Options
Linker Options