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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ Represents the source files for the compiler.
96
96
| AutoGen | Optional boolean. Indicates whether the file was generated for the project by the Visual Studio integrated development environment (IDE). |
97
97
| Link | Optional string. The notational path to be displayed when the file is physically located outside the influence of the project file. |
98
98
| Visible | Optional boolean. Indicates whether to display the file in **Solution Explorer** in Visual Studio. |
99
-
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest |
99
+
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest<br />4. IfDifferent|
100
100
101
101
## EmbeddedResource
102
102
@@ -112,7 +112,7 @@ Represents resources to be embedded in the generated assembly.
112
112
| CustomToolNamespace | Optional string. The namespace in which any file generator that runs on this item should create code. |
113
113
| Link | Optional string. The notational path is displayed if the file is physically located outside the influence of the project. |
114
114
| Visible | Optional boolean. Indicates whether to display the file in **Solution Explorer** in Visual Studio. |
115
-
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest |
115
+
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest<br />4. IfDifferent|
116
116
| LogicalName | Required string. The logical name of the embedded resource. |
117
117
118
118
## Content
@@ -129,7 +129,7 @@ Represents files that aren't compiled into the project, but may be embedded or p
129
129
| PublishState | Required string. The publish state of the content, either:<br /><br /> - Default<br />- Included<br />- Excluded<br />- DataFile<br />- Prerequisite |
130
130
| IsAssembly | Optional boolean. Specifies whether the file is an assembly. |
131
131
| Visible | Optional boolean. Indicates whether to display the file in **Solution Explorer** in Visual Studio. |
132
-
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest |
132
+
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest<br />4. IfDifferent|
133
133
| TargetPath | Optional string. The output path (relative to the configuration- and/or platform-specific output directory) of an item, including the filename. This respects the `Link` metadata, if provided. If TargetPath isn't provided, it's computed during the build process. See [AssignTargetPath](assigntargetpath-task.md). |
134
134
135
135
## None
@@ -144,7 +144,7 @@ Represents files that should have no role in the build process.
144
144
| CustomToolNamespace | Optional string. The namespace in which any file generator that runs on this item should create code. |
145
145
| Link | Optional string. The notational path to be displayed if the file is physically located outside the influence of the project. |
146
146
| Visible | Optional boolean. Indicates whether to display the file in **Solution Explorer** in Visual Studio. |
147
-
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest |
147
+
| CopyToOutputDirectory | Optional string. Determines whether to copy the file to the output directory. Values are:<br /><br /> 1. Never<br />2. Always<br />3. PreserveNewest<br />4. IfDifferent|
0 commit comments