Invalid add parameter when downloading offline Visual Studio 2017 15.9 build tools component Microsoft.Component.VC.Runtime.UCRTSDK

  • Thread starter Thread starter turgeose
  • Start date Start date
T

turgeose

Guest
Hi, I try to install the VS2017 build tools on an offline computer that cannot go online. For this, I need to create a local install cache from an Internet connected computer.

I need a specific subset of workloads and components to build the code.
I am getting a "invalid parameter --add" error whenever I include the Microsoft.Component.VC.Runtime.UCRTSDK component.

For example, this simplified command isolates and gives the error:
vs_buildtools__1873784903.1478007874.exe --layout C:\Temp\VS2017BuildToolsV9 --add Microsoft.VisualStudio.Workload.VCTools -–add Microsoft.Component.VC.Runtime.UCRTSDK --lang en-US

The name of the problematic component has no typo, it was taken from this article:
Visual Studio Build Tools workload and component IDs

You should be able to reproduce the problem by downloading the VS2017 build tools 15.9 from https://my.visualstudio.com/downloads and execute the example command.above (as of today, the latest version is vs_buildtools__1873784903.1478007874.exe)


Thank you.

Continue reading...
 
Back
Top