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
create visualstudio2017-workload-manageddesktopbuildtools #43
Comments
Hi @jberezanski I have a Dockerfile that currently installs some of the vsbuildtools:
However, I also need the
But the build fails as it's unable to find the componenet:
Since this workload does not exist yet (hence this Github issue), is there any way that I can work around this until this issue is complete? I'm working inside of a Docker container with Windows Server Core so I cannot open the visual studio installer and add workloads that way. Is there a programmatic way to do this? Thanks in advance. |
Oh, @pstephenson02, somehow I completely missed your comment. The syntax
is correct and should work in cmd/powershell. The fact that it fails in a dockerfile suggests a quoting issue - it looks like docker strips the quotes from the command, so choco thinks that Microsoft.VisualStudio.Component.FSharp.MSBuild is the name of another package to install, not a continuation of the value of --package-parameters. The workload package is available now, so you can just use it and avoid the issue. You can also try to determine how to escape the quotes properly in the dockerfile, which may come in handy if you need to pass additional parameters to the packages in the future. |
Thanks @jberezanski! |
No description provided.
The text was updated successfully, but these errors were encountered: