-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional workloads to cirrusci/windowsservercore:cmake? #9
Comments
I also tried
|
Right now it seems the only workaround is to force re-install but I don't mind to add support for universal apps. At the moment I'm trying to build an image with all the packages pre-install to see how big it will be. |
That sounds like a good idea, I am hitting install errors when trying to install vs17community on the plain image: https://cirrus-ci.com/build/6301294078197760 |
Turns out the
With these commands I could add the two workloads that I needed. It takes 20 minutes though, so having an image with all the workloads installed would definitely be a big improvement. |
Nice! I was trying to add |
These are for a very specific use case (Cordova Windows apps), which are probably useful just for me ;) Don't know enough about VS to suggest a better loadout of workloads. |
Still timing out 🤔 Trying here: #10 |
Please also add all the optional components for vctools. ATM I am having to reinstall using:
which takes over 20 minutes :-( |
I'm trying to use
cirrusci/windowsservercore:cmake
but have to add a few workloads to Visual Studio (Microsoft.VisualStudio.Workload.Universal
andMicrosoft.VisualStudio.Component.Windows10SDK.10240
).From googling I found the
visualstudio2017buildtools
choco package, then on https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2017 I could get the workload IDs, which I combined tochoco install visualstudio2017buildtools --params "--add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Component.Windows10SDK.10240"
. But when I try to run this in a script I get this error message:Should I really use
--force
or is there another way to just add those workloads to the existing installation?The text was updated successfully, but these errors were encountered: