MSBuild different locations for VS2015 vs VS2017 vs VS2019

Today, I want to share with you guys different MSBuild locations for different Visual Studio version.

If you are still using the VS2015 (.NET Framework 4.6 or lower), you can find the MsBuild.exe under this path.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe

And, if you are using the VS2017 (.NET Framework 4.6 or higher), you can find the MsBuild.exe under this path.
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MsBuild.exe

Then, if you are using the VS2019, you can find the MsBuild.exe under this path.
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MsBuild.exe

That’s it. I hope this will help. 🙂
Photo: Internet

Leave a Reply

Your email address will not be published. Required fields are marked *