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/msbuild/common-msbuild-project-items.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,15 @@ ms.workload:
24
24
- "multiple"
25
25
---
26
26
# Common MSBuild Project Items
27
-
In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.md)], an item is a named reference to one or more files. Items contain metadata such as file names, paths, and version numbers. All project types in [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] have several items in common. These items are defined in the file microsoft.build.commontypes.xsd.
27
+
In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.md)], an item is a named reference to one or more files. Items contain metadata such as file names, paths, and version numbers. All project types in [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] have several items in common. These items are defined in the file Microsoft.Build.CommonTypes.xsd.
28
28
29
29
## Common Items
30
30
The following is a list of all the common project items.
31
31
32
32
### Reference
33
33
Represents an assembly (managed) reference in the project.
34
34
35
-
|Item Name|Description|
35
+
|Item Metadata Name|Description|
36
36
|---------------|-----------------|
37
37
|HintPath|Optional string. Relative or absolute path of the assembly.|
38
38
|Name|Optional string. The display name of the assembly, for example, "System.Windows.Forms."|
@@ -44,7 +44,7 @@ In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.m
44
44
### COMReference
45
45
Represents a COM (unmanaged) component reference in the project.
46
46
47
-
|Item Name|Description|
47
+
|Item Metadata Name|Description|
48
48
|---------------|-----------------|
49
49
|Name|Optional string. The display name of the component.|
50
50
|Guid|Optional string. A GUID for the component, in the form {12345678-1234-1234-1234-1234567891234}.|
@@ -57,22 +57,22 @@ In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.m
57
57
### COMFileReference
58
58
Represents a list of type libraries that feed into the ResolvedComreference target.
59
59
60
-
|Item Name|Description|
60
+
|Item Metadata Name|Description|
61
61
|---------------|-----------------|
62
62
|WrapperTool|Optional string. The name of the wrapper tool that is used on the component, for example, "tlbimp."|
63
63
64
64
### NativeReference
65
65
Represents a native manifest file or a reference to such a file.
66
66
67
-
|Item Name|Description|
67
+
|Item Metadata Name|Description|
68
68
|---------------|-----------------|
69
69
|Name|Required string. The base name of the manifest file.|
70
70
|HintPath|Required string. The relative path of the manifest file.|
71
71
72
72
### ProjectReference
73
73
Represents a reference to another project.
74
74
75
-
|Item Name|Description|
75
+
|Item Metadata Name|Description|
76
76
|---------------|-----------------|
77
77
|Name|Optional string. The display name of the reference.|
78
78
|Project|Optional string. A GUID for the reference, in the form {12345678-1234-1234-1234-1234567891234}.|
@@ -81,7 +81,7 @@ In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.m
81
81
### Compile
82
82
Represents the source files for the compiler.
83
83
84
-
|Item Name|Description|
84
+
|Item Metadata Name|Description|
85
85
|---------------|-----------------|
86
86
|DependentUpon|Optional string. Specifies the file this file depends on to compile correctly.|
87
87
|AutoGen|Optional boolean. Indicates whether the file was generated for the project by the [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] integrated development environment (IDE).|
@@ -92,7 +92,7 @@ In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.m
92
92
### EmbeddedResource
93
93
Represents resources to be embedded in the generated assembly.
94
94
95
-
|Item Name|Description|
95
+
|Item Metadata Name|Description|
96
96
|---------------|-----------------|
97
97
|DependentUpon|Optional string. Specifies the file this file depends on to compile correctly|
98
98
|Generator|Required string. The name of any file generator that is run on this item.|
@@ -106,7 +106,7 @@ In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.m
106
106
### Content
107
107
Represents files that are not compiled into the project, but may be embedded or published together with it.
108
108
109
-
|Item Name|Description|
109
+
|Item Metadata Name|Description|
110
110
|---------------|-----------------|
111
111
|DependentUpon|Optional string. Specifies the file this file depends on to compile correctly.|
112
112
|Generator|Required string. The name of any file generator that runs on this item.|
@@ -121,7 +121,7 @@ In [!INCLUDE[vstecmsbuild](../extensibility/internals/includes/vstecmsbuild_md.m
121
121
### None
122
122
Represents files that should have no role in the build process.
123
123
124
-
|Item Name|Description|
124
+
|Item Metadata Name|Description|
125
125
|---------------|-----------------|
126
126
|DependentUpon|Optional string. Specifies the file this file depends on to compile correctly.|
127
127
|Generator|Required string. The name of any file generator that is run on this item.|
0 commit comments