Visual Studio Build tools load differently than the IDE. They look like a pretty small subset and are called build tools for Visual Studio 2019 ( download ).
You can use the GUI to install or you can write the msbuild installation script:
vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet
Microsoft.VisualStudio.Workload.MSBuildTools is the shell identifier for the three subcomponents you need :
- Microsoft.Component.MSBuild
- Microsoft.VisualStudio.Component.CoreBuildTools
- Microsoft.VisualStudio.Component.Roslyn.Compiler
You can find documentation of other available CLI switches here .
Installing build tools is much faster than a full IDE. In my test, it took 5-10 seconds. With --quiet there is no progress indicator other than a brief cursor change. If the installation was successful, you can see the build tools in %programfiles(x86)%\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin .
If you donโt see them there, try running without --quiet to see any error messages that may occur during installation.
rianjs Mar 09 '17 at 14:01 2017-03-09 14:01
source share