Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.3 KB

winmdfile-specify-winmd-file.md

File metadata and controls

32 lines (22 loc) · 1.3 KB
description title ms.date f1_keywords ms.assetid
Learn more about: /WINMDFILE (Specify winmd File)
/WINMDFILE (Specify winmd File)
11/04/2016
VC.Project.VCLinkerTool.GenerateWindowsMetadataFile
062b41b3-14d6-432c-a361-fdb66e918931

/WINMDFILE (Specify winmd File)

Specifies the file name for the Windows Runtime Metadata (.winmd) output file that is generated by the /WINMD linker option.

/WINMDFILE:filename

Remarks

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

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

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

See also

/WINMD (Generate Windows Metadata)
MSVC linker reference
MSVC Linker Options