Skip to content

Commit f1a4e87

Browse files
author
Colin Robertson
committed
Address MicrosoftDocs/cpp-docs/issues/453
1 parent 143b2f9 commit f1a4e87

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

docs/build/reference/winmd-generate-windows-metadata.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ ms.workload: ["cplusplus"]
1515

1616
Enables generation of a Windows Runtime Metadata (.winmd) file.
1717

18-
```
19-
/WINMD[:{NO|ONLY}]
20-
```
18+
> **/WINMD**\[**:**{**NO**\|**ONLY**}]
2119
22-
## Remarks
20+
## Arguments
2321

2422
**/WINMD**<br/>
2523
The default setting for Universal Windows Platform apps. The linker generates both the binary executable file and the .winmd metadata file.
@@ -30,19 +28,27 @@ The linker generates only the binary executable file, but not a .winmd file.
3028
**/WINMD:ONLY**<br/>
3129
The linker generates only the .winmd file, but not the binary executable file.
3230

33-
By default, the output file name has the form `binaryname`.winmd. To specify a different file name, use the [/WINMDFILE](../../build/reference/winmdfile-specify-winmd-file.md) option.
31+
## Remarks
32+
33+
The **/WINMD** linker option is used for UWP apps and Windows runtime components to control the creation of a Windows Runtime metadata (.winmd) file. A .winmd file is a kind of DLL that contains metadata for Windows runtime types and, in the case of runtime components, the implementations of those types. The metadata follows the [ECMA-335](http://www.ecma-international.org/publications/standards/Ecma-335.htm) standard.
34+
35+
By default, the output file name has the form *binaryname*.winmd. To specify a different file name, use the [/WINMDFILE](../../build/reference/winmdfile-specify-winmd-file.md) option.
3436

3537
### To set this linker option in the Visual Studio development environment
3638

3739
1. Open the project's **Property Pages** dialog box. For details, see [Working with Project Properties](../../ide/working-with-project-properties.md).
3840

39-
1. Select the **Linker** folder.
40-
41-
1. Select the **Windows Metadata** property page.
41+
1. Select the **Configuration Properties** > **Linker** > **Windows Metadata** property page.
4242

4343
1. In the **Generate Windows Metadata** drop-down list box, select the option you want.
4444

4545
## See Also
4646

47+
[Walkthrough: Creating a Simple Windows Runtime component and calling it from JavaScript](/windows/uwp/winrt-components/walkthrough-creating-a-simple-windows-runtime-component-and-calling-it-from-javascript)<br/>
48+
[Introduction to Microsoft Interface Definition Language 3.0](/uwp/midl-3/intro)<br/>
49+
[/WINMDFILE (Specify winmd File)](winmdfile-specify-winmd-file.md)<br/>
50+
[/WINMDKEYFILE (Specify winmd Key File)](winmdkeyfile-specify-winmd-key-file.md)<br/>
51+
[/WINMDKEYCONTAINER (Specify Key Container)](winmdkeycontainer-specify-key-container.md)<br/>
52+
[/WINMDDELAYSIGN (Partially Sign a winmd)](winmddelaysign-partially-sign-a-winmd.md)<br/>
4753
[Setting Linker Options](../../build/reference/setting-linker-options.md)<br/>
48-
[Linker Options](../../build/reference/linker-options.md)
54+
[Linker Options](../../build/reference/linker-options.md)

0 commit comments

Comments
 (0)