Skip to content

Commit 6145a7e

Browse files
Merge pull request #14200 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-12 22:30 UTC
2 parents 9869f5e + 29aaa4a commit 6145a7e

File tree

72 files changed

+111
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+111
-146
lines changed

.github/workflows/clean-repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: write
1515

1616
steps:
17-
- uses: actions/checkout@v4.2.2
17+
- uses: actions/checkout@v5.0.0
1818

1919
# Call clean repo
2020
- name: Clean repo

docs/msbuild/aspnetcompiler-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following table describes the parameters of the `AspNetCompiler` task.
4949
The following code example uses the `AspNetCompiler` task to precompile an ASP.NET application.
5050

5151
```xml
52-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
52+
<Project>
5353
<Target Name="PrecompileWeb">
5454
<AspNetCompiler
5555
VirtualPath="/MyWebSite"

docs/msbuild/assignculture-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ In addition to the parameters listed in this article, this task inherits paramet
4343
The following example executes the `AssignCulture` task with the `ResourceFiles` item collection.
4444

4545
```xml
46-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
46+
<Project>
4747
<ItemGroup>
4848
<ResourceFiles Include="MyResource1.fr.resx"/>
4949
<ResourceFiles Include="MyResource2.XX.resx"/>

docs/msbuild/assigntargetpath-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In addition to the parameters listed above, this task inherits parameters from t
3535
The following example executes the `AssignTargetPath` task to configure a project.
3636

3737
```xml
38-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
38+
<Project>
3939
<Target Name="MyProject">
4040
<AssignTargetPath
4141
RootFolder="Resources"

docs/msbuild/calltarget-task.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ When using `CallTarget`, MSBuild evaluates the called target in a new scope, as
4545
The following example calls `TargetA` from inside `CallOtherTargets`.
4646

4747
```xml
48-
<Project DefaultTargets="CallOtherTargets"
49-
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
48+
<Project DefaultTargets="CallOtherTargets">
5049

5150
<Target Name="CallOtherTargets">
5251
<CallTarget Targets="TargetA"/>

docs/msbuild/choose-element-msbuild.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ The `Choose` element contains a series of `When` elements with `Condition` attri
7474
The following project uses the `Choose` element to select which set of property values in the `When` elements to set. If the `Condition` attributes of both `When` elements evaluate to `false`, the property values in the `Otherwise` element are set.
7575

7676
```xml
77-
<Project
78-
xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
77+
<Project>
7978
<PropertyGroup>
8079
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
8180
<OutputType>Exe</OutputType>

docs/msbuild/copy-task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ In addition to the parameters listed above, this task inherits parameters from t
7171
The following example copies the items in the `MySourceFiles` item collection into the folder *c:\MyProject\Destination*.
7272

7373
```xml
74-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
74+
<Project>
7575

7676
<ItemGroup>
7777
<MySourceFiles Include="a.cs;b.cs;c.cs"/>
@@ -92,7 +92,7 @@ The following example copies the items in the `MySourceFiles` item collection in
9292
The following example demonstrates how to do a recursive copy. This project copies all of the files recursively from *c:\MySourceTree* into *c:\MyDestinationTree*, while maintaining the directory structure.
9393

9494
```xml
95-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
95+
<Project>
9696

9797
<Target Name="CopyFiles">
9898
<ItemGroup>

docs/msbuild/createitem-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Populates item collections with the input items. This allows items to be copied
4646
After the task is executed, the `MySourceItemsWithMetadata` item collection contains the items *file1.resx* and *file2.resx*, both with metadata entries for `MyMetadata`. The `MySourceItems` item collection is unchanged.
4747

4848
```xml
49-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
49+
<Project>
5050

5151
<ItemGroup>
5252
<MySourceItems Include="file1.resx;file2.resx" />

docs/msbuild/createproperty-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ In addition to the parameters listed above, this task inherits parameters from t
3939
The following example uses the `CreateProperty` task to create the `NewFile` property using the combination of the values of the `SourceFilename` and `SourceFileExtension` property.
4040

4141
```xml
42-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
42+
<Project>
4343

4444
<PropertyGroup>
4545
<SourceFilename>Module1</SourceFilename>

docs/msbuild/downloadfile-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ In addition to the parameters listed above, this task inherits parameters from t
5151
The following example downloads a file and includes it in the `Content` items prior to building the project.
5252

5353
```xml
54-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
54+
<Project>
5555

5656
<PropertyGroup>
5757
<MyUrl>https://raw.githubusercontent.com/Microsoft/msbuild/master/LICENSE</MyUrl>

0 commit comments

Comments
 (0)