You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/reference/winmd-generate-windows-metadata.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,9 @@ ms.workload: ["cplusplus"]
15
15
16
16
Enables generation of a Windows Runtime Metadata (.winmd) file.
17
17
18
-
```
19
-
/WINMD[:{NO|ONLY}]
20
-
```
18
+
> **/WINMD**\[**:**{**NO**\|**ONLY**}]
21
19
22
-
## Remarks
20
+
## Arguments
23
21
24
22
**/WINMD**<br/>
25
23
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.
30
28
**/WINMD:ONLY**<br/>
31
29
The linker generates only the .winmd file, but not the binary executable file.
32
30
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.
34
36
35
37
### To set this linker option in the Visual Studio development environment
36
38
37
39
1. Open the project's **Property Pages** dialog box. For details, see [Working with Project Properties](../../ide/working-with-project-properties.md).
1. In the **Generate Windows Metadata** drop-down list box, select the option you want.
44
44
45
45
## See Also
46
46
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/>
0 commit comments