Where is MSBuild.exe installed in Windows when installed using BuildTools_Full.exe?

jonasm picture jonasm · Jun 15, 2017 · Viewed 69.4k times · Source

I'm trying to set up a build server for .NET, but can't figure out where MSBuild.exe is installed.

I'm trying to install MSBuild using the Microsoft Build Tools 2013: https://www.microsoft.com/en-us/download/details.aspx?id=40760

Answer

Aniket Thakur picture Aniket Thakur · Mar 1, 2018

As per https://docs.microsoft.com/en-us/visualstudio/msbuild/what-s-new-in-msbuild-15-0

MSBuild is now installed in a folder under each version of Visual Studio. For example, C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild. You can also use the following PowerShell module to locate MSBuild: vssetup.powershell.

MSBuild is no longer installed in the Global Assembly Cache. To reference MSBuild programmatically, use NuGet packages.