Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How can i install the vs2017 version of msbuild on a build server?


Asked by Nalani Schmitt on Dec 08, 2021 FAQ



How can I install the VS2017 version of msbuild on a build server without installing the IDE? Historically, this has been done with the Microsoft Build Tools. But it seems that the Build Tools may not be available for versions after 2015. The replacement appears to be the Visual Studio build tools, which doesn't seem to have a real homepage yet.
Keeping this in consideration,
The latest (as of Jan 2019) stand-alone MSBuild installers can be found here: https://www.visualstudio.com/downloads/ Scroll down to "Tools for Visual Studio 2019" and choose "Build Tools for Visual Studio 2019" (despite the name, it's for users who don'twant the full IDE)
Similarly, The following MSBuild properties have been updated due to the new version number. MSBuildToolsVersion for this version of the tools is "Current". The assembly version is the same as in Visual Studio 2017, which is 15.1.0.0. VisualStudioVersion for this version of the tools is "16.0"
Moreover,
I downloaded the VS2017 Professional installer, and went to the Individual Components tab. Right away, the summary is telling me that the Visual Studio core editor is there, taking up 753MB.
In respect to this,
1 Answer 1. The Visual Studio Build tools are a different download than the IDE. They appear to be a pretty small subset, and they're called Build Tools for Visual Studio 2019 (download).