Using Standard MSBuild Paths


The standard MSBuild paths shown here are for informational purposes, and show the default locations for MSBuild. Visual Studio 2013 and later can be installed in a user-defined path (VS 2012 uses the .NET Framework 4 version of MSBuild, not a Visual Studio-specific version). In these cases, you likely need to paste in the custom path to MSBuild, based on the path patterns below.

A custom user-defined path follow the same patterns shown here, starting after the Program Files (x86) directory.

Visual Studio 2017

The first two paths below that contain Professional differ based on the edition of Visual Studio you have installed. Replace Professional with Enterprise or Community, when appropriate.

Note: the Visual Studio Preview install also changes the path based on Enterprise, Professional, or Community.
  • Standard Visual Studio Paths

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\

  • Visual Studio Preview Paths

    C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\MSBuild\15.0\Bin

  • MSBuild Tools Paths

    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\

    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\amd64\

Visual Studio 2015

  • C:\Program Files (x86)\MSBuild\14.0\Bin\
  • C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\

Visual Studio 2013

  • C:\Program Files (x86)\MSBuild\12.0\Bin\
  • C:\Program Files (x86)\MSBuild\12.0\Bin\amd64\

Visual Studio 2012

  • C:\Windows\Microsoft.NET\Framework\v4.0.30319\
  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\