Skip to content

Commit 1ccd890

Browse files
authored
Merge pull request #4385 from NextTurn/xml
Fix sample code
2 parents 97ff6d7 + d8761a6 commit 1ccd890

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/msbuild/item-metadata-in-task-batching.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,21 +147,21 @@ The following example shows how to batch each item in an item list one at a time
147147

148148
<Target Name="ShowMessage">
149149
<Message
150-
Text = "Identity: "%(Identity)" -- Items in ExampColl: @(ExampColl)"/>
150+
Text = "Identity: '%(Identity)' -- Items in ExampColl: @(ExampColl)"/>
151151
</Target>
152152

153153
</Project>
154154
```
155155

156156
The [Message task](../msbuild/message-task.md) displays the following information:
157157

158-
```
159-
Identity: "Item1" -- Items in ExampColl: Item1
160-
Identity: "Item2" -- Items in ExampColl: Item2
161-
Identity: "Item3" -- Items in ExampColl: Item3
162-
Identity: "Item4" -- Items in ExampColl: Item4
163-
Identity: "Item5" -- Items in ExampColl: Item5
164-
Identity: "Item6" -- Items in ExampColl: Item6
158+
```output
159+
Identity: 'Item1' -- Items in ExampColl: Item1
160+
Identity: 'Item2' -- Items in ExampColl: Item2
161+
Identity: 'Item3' -- Items in ExampColl: Item3
162+
Identity: 'Item4' -- Items in ExampColl: Item4
163+
Identity: 'Item5' -- Items in ExampColl: Item5
164+
Identity: 'Item6' -- Items in ExampColl: Item6
165165
```
166166

167167
## Filter item lists

0 commit comments

Comments
 (0)