Skip to content

Commit 8579af9

Browse files
authoredApr 7, 2025
Merge pull request #5290 from emild/patch-1
Update walkthrough-using-msbuild-to-create-a-visual-cpp-project.md
2 parents 5b0386e + c054fc3 commit 8579af9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎docs/build/walkthrough-using-msbuild-to-create-a-visual-cpp-project.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ An MSBuild project file is an XML file that contains a project root element (`<P
8383

8484
### To create the MSBuild project file
8585

86-
1. Use a text editor to create a project file that is named *`myproject.vcxproj`*, and then add the root `<Project>` element shown here. (Use `ToolsVersion="14.0"` if you're using Visual Studio 2015, `ToolsVersion="15.0"` if you're using Visual Studio 2017, or `ToolsVersion="16.0"` if you're using Visual Studio 2019.)
86+
1. Use a text editor to create a project file that is named *`myproject.vcxproj`*, and then add the root `<Project>` element shown here. (Use `ToolsVersion="14.0"` if you're using Visual Studio 2015, `ToolsVersion="15.0"` if you're using Visual Studio 2017, `ToolsVersion="16.0"` if you're using Visual Studio 2019, or `ToolsVersion="17.0"` if you're using Visual Studio 2022.)
8787

8888
```xml
89-
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
89+
<Project DefaultTargets="Build" ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
9090
</Project>
9191
```
9292

@@ -155,10 +155,10 @@ An MSBuild project file is an XML file that contains a project root element (`<P
155155

156156
### Complete Project File
157157

158-
This code shows the complete project file that you created in the previous procedure. (Use `ToolsVersion="15.0"` for Visual Studio 2017, or `ToolsVersion="14.0"` for Visual Studio 2015.)
158+
This code shows the complete project file that you created in the previous procedure. (Use `ToolsVersion=16.0 for Visual Studio 2019, ToolsVersion="15.0"` for Visual Studio 2017, or `ToolsVersion="14.0"` for Visual Studio 2015.)
159159

160160
```xml
161-
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
161+
<Project DefaultTargets="Build" ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
162162
<ItemGroup>
163163
<ProjectConfiguration Include="Debug|Win32">
164164
<Configuration>Debug</Configuration>

0 commit comments

Comments
 (0)