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.
source to share
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
source to share
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.
source to share