Edit

Share via


/WINMDKEYCONTAINER (Specify Key Container)

Specifies a key container to sign a Windows Metadata (.winmd) file.

/WINMDKEYCONTAINER:name

Remarks

Resembles the /KEYCONTAINER 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 Container box, enter the location.

See also

MSVC linker reference
MSVC Linker Options