Microsoft Tips & Tricks Visual Studio Windows Windows Tutorials

How to find MSBuild location

In this article you will learn how to find MSBuild location.

As of MSBuild 12 (2013)/VS 2013/.NET 4.5.1+ and onward MSBuild is now installed as a part of Visual Studio.


Visual Studio 2015: C:\Program Files(x86)\MSBuild\14.0\Bin

Visual Studio 2017: C:\Program Files\Microsoft Visual Studio\2017\<YOUR_VS_EDITION>\MSBuild\15.0\Bin

Visual Studio 2019: C:\Program Files\Microsoft Visual Studio\2019\<YOUR_VS_EDITION>\MSBuild\Current\Bin

Visual Studio 2022: C:\Program Files\Microsoft Visual Studio\2022\<YOUR_VS_EDITION>\MSBuild\Current\Bin


<YOUR_VS_EDITION> matches the Visual Studio edition that you have installed, i.e., Community, Preview, Professional or Enterprise.