Search code examples
.netmsbuildwindows-server

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


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


Solution

  • MSBuild in the previous versions of .NET Framework was installed with it but, they decided to install it with Visual Studio or with the package BuildTools_Full.exe.

    The path to MSBuild when installed with the .NET framework:

    C:\Windows\Microsoft.NET\Framework[64 or empty][framework_version]

    The path to MSBuild when installed with Visual Studio is:

    C:\Program Files (x86)\MSBuild[version]\Bin for x86

    and

    C:\Program Files (x86)\MSBuild[version]\Bin\amd64 for x64.

    The path when BuildTools_Full.exe is installed is the same as when MSBuild is installed with Visual Studio.