Edit

Share via


/WINMDKEYFILE (Specify winmd Key File)

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

/WINMDKEYFILE:filename

Remarks

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 Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > Linker > Windows Metadata property page.

  3. In the Windows Metadata Key File box, enter the file location.

See also

MSVC linker reference
MSVC Linker Options