Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting msbuild.exe without installing Visual Studio

Tags:

msbuild

How do you get msbuild.exe without installing those crazy Visual Studio programs?

I need it for an npm install to finish working. I'm on Windows 7 and can't get on older version of Visual Studio 2013 Express online.

like image 804
SuperUberDuper Avatar asked Aug 26 '14 12:08

SuperUberDuper


People also ask

How do I get MSBuild without Visual Studio?

To install MSBuild on a system that doesn't have Visual Studio, go to Build Tools for Visual Studio 2022 on the downloads page. Another way of getting MSBuild is to install the . NET SDK.

How do I get MSBuild exe?

You can also get the MSBuild executable as a Nuget package https://www.nuget.org/packages/Microsoft.Build.Runtime/.

Does MSBuild require Visual Studio license?

Use of the Build Tools require a valid Visual Studio license. If you can use the Visual Studio Community for free, you can also use the Build Tools with a valid free license. If you cannot use the Visual Studio Community, you need to use the Build Tools with a valid paid license.

How do I add MSBuild exe to Path?

Click on System and Security and then on System. In the left pane, click on Advanced system settings. At the very bottom of the pop up, click on Environment Variables. Edit the Path variable and append the folder's path that contains the MSBuild.exe to it (e.g., ;C:\Windows\Microsoft.NET\Framework64\v4.


1 Answers

The latest (as of Jan 2019) stand-alone MSBuild installers can be found here: https://www.visualstudio.com/downloads/

Scroll down to "Tools for Visual Studio 2019" and choose "Build Tools for Visual Studio 2019" (despite the name, it's for users who don't want the full IDE)

See this question for additional information.

like image 66
John Weldon Avatar answered Sep 23 '22 14:09

John Weldon