Using Standard MSBuild Paths with Visual Studio

IDEs

This section lists the default MSBuild paths for Visual Studio and is intended for informational purposes only.

You can install Visual Studio 2015 and later in a custom path. You need to add the custom path to MSBuild, based on the listed path patterns. A custom path follows the same patterns shown here, starting after the Program Files (x86) directory.

For Visual Studio 2017 and 2019, the first two paths with a Professional directory differ based on your edition of Visual Studio. As appropriate, you can replace Professional with Enterprise or Community. The Visual Studio Preview installation also changes the path based on Enterprise, Professional, or Community.

Visual Studio 2019

  • Standard Visual Studio Paths

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\amd64\

  • Visual Studio Preview Paths

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin

  • C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\amd64\
  • MSBuild Tools Paths

    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\

    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\amd64\

Visual Studio 2017

  • 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\