How do I install MSBuild 15.3 without Visual Studio?

Is there a way to install version 15.3 of MSBuild on a build server without installing Visual Studio 2017?

I tried to install "Build Tools for Visual Studio 2017" from https://www.visualstudio.com/downloads/ at https://www.visualstudio.com/downloads/ at https://stackoverflow.com/questions/68861/ ... however I ended up with version 15.1:

msbuild /version
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.

15.1.1012.6693

      

We need version 15.3 to build the Azure Functions project.

+7


source to share


4 answers


at the time of writing, MSBuild 15.3 has not been released outside of Visual Studio or .NET Core CLI 2.0.0 previews.



When released, it will be part of VS 2017 15.3 (+ Build Tools), .NET Core CLI 2.0.0 and Mono 5.2

+7


source


The answer to this question might help you

How can I install the msbuild VS2017 version on the build server without installing the IDE?



Visual Studio Build tools load differently from the IDE. They look like a pretty small subset and are called Build Tools for Visual Studio 2017 ( Download )

You can use a GUI to install, or you can write an msbuild install script:

vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet

+2


source


You can always build from source: https://github.com/Microsoft/msbuild/releases

+1


source


go to Microsoft website and download vs_buildtools ( https://visualstudio.microsoft.com/downloads/ ) after downloading, open the folder via CMD prompt and start installation with the following commands:

vs_buildtools__1882505178.1548260078.exe --layout c: \ VS_BuildTools --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US --includingOptional

  • "vs_buildtools__1882505178.1548260078.exe" should be replaced with the version you downloaded from the site.
  • Path "c: \ VS_BuildTools" where the installer should be.
+1


source







All Articles