/WINMDFILE (Specify winmd File)

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see -WINMDFILE (Specify winmd File) on docs.microsoft.com. Specifies the file name for the Windows Runtime Metadata (.winmd) output file that is generated by the /WINMD linker option.

/WINMDFILE:filename  

Use the value that is specified in filename to override the default .winmd file name (binaryname.winmd). Notice that you do not append ".winmd" to filename. If multiple values are listed on the /WINMDFILE command line, the last one takes precedence.

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 Windows Metadata File box, enter the file location.

/WINMD (Generate Windows Metadata)
Setting Linker Options
Linker Options

Show: