Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the filename for the Windows Runtime Metadata (.winmd
) output file that is generated by the /WINMD
linker option.
/WINMDFILE:filename
Argument
filename
The filename for .winmd
output file. When expanded, the fully qualified filename must not exceed MAX_PATH
(260 characters).
Remarks
Use the value that is specified in filename
to override the default .winmd
file name (binaryname
.winmd). Don't append ".winmd"
to filename
. If multiple values are listed on the /WINMDFILE
command line, the last one takes precedence. The resulting name when combined with .winmd
must not exceed MAX_PATH
(260 characters).
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > Linker > Windows Metadata property page.
In the Windows Metadata File box, enter the file location.
See also
/WINMD
(Generate Windows Metadata)
MSVC linker reference
MSVC Linker Options