Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the version history of MSBuild?

What is the version history of MS Build?

I see that my .NET Framework installation folders have a version 4.something where as the Visual Studio 2017 Community folder and the .NET Core (v1.0) folder have the latest version 15.1.458.

enter image description here

I looked up the releases on github and I see that a version 14 predates the version 15 major but there's no version 4 till the end of the release history on github.

Can someone provide a chronological record of versions?

like image 544
Water Cooler v2 Avatar asked Nov 12 '18 12:11

Water Cooler v2


People also ask

Where is MSBuild VS 2019?

With Visual Studio 2019 and later, it's installed under the Visual Studio installation folder. For a typical default installation on Windows 10, MSBuild.exe is under the installation folder in MSBuild\Current\Bin.

How do I use specific version of MSBuild?

Use 'where msbuild' to determine where it is loading msbuild from. Use the Visual Studio Command Prompt (2010) shortcut to initialize the path and other environment variables for VS 2010 and MSBuild 4.0. Don't forget, older MSBuild versions are also updated when newer .

What version of MSBuild does vs2022 use?

Visual Studio 2022 uses the 64-bit version of MSBuild for all builds.

Is MSBuild part of .NET framework?

MSBuild 4.5 is still part of the . NET 4.5. 1 Framework. The Framework's MSBuild will still be used by Visual Studio 2012, and is able to build any projects that round trip from Visual Studio 2013 to Visual Studio 2012.


1 Answers

Can someone provide a chronological record of versions?

It related to the version of Visual Studio and .net framework. If you are in the old version Visual Studio, like Visual Studio 2012, the MSBuild version is v4.0.30319, which comes from .net framework.

Starting with Visual Studio 2013, the 2013 version of MSBuild will ship as a part of Visual Studio instead of the .NET Framework. This transition allows us to more rapidly evolve MSBuild.

You can check the blog MSBuild is now part of Visual Studio! for some more details.

So, now the MSBuild’s New Binaries Location and version:

Visual Studio 2013: C:\Program Files (x86)\MSBuild\12.0\bin\MSBuild.exe MSBuild version:12.0

Visual Studio 2015: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe MSBuild version:14.0

Visual Studio 2017: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe MSBuild version:15.0

Visual Studio 2019: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe MSBuild version:16.0


Notice: Community may be replaced with Enterprise (in 2017 and 2019) depends on your Visual Studio type.


Hope this helps.

like image 83
Leo Liu-MSFT Avatar answered Sep 18 '22 15:09

Leo Liu-MSFT