/WINMDKEYFILE (Specify winmd Key File)

 

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

Specifies a key or a key pair to sign a Windows Runtime Metadata (.winmd) file.

/WINMDKEYFILE:filename  

Resembles the /KEYFILE linker option that is applied to a .winmd file.

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

Setting Linker Options
Linker Options

Show: