-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support VS2019 on Windows 2022 #1146
Comments
The weird thing is that I did most of my prototyping for this with the Windows 2022 Docker Image. Is it difficult to run the packer process locally to debug? |
It should not be difficult OOB if you have an Azure subscription allowing you to spin up VMs. Otherwise you can try only the provision ps1 script inside a container (or whatever windows server VM) but we never had the time to spend on such case. Note : as we would like to shift the Windows containers from the current Dockerfile to packer-images, supporting Windows container should be accessible easily. It was working well a few month ago |
Ok, I will give this a shot. I don't have any Azure subscriptions available I don't think. I'll have to look. |
For reference, there is an example of a Dockerfile to build a Windows Server Core ltsc2022 containing these build tools, if it can help: |
Found out the difference between their ltsc2019 and ltsc2022 Dockerfiles: - vs_buildtools.exe https://aka.ms/vs/16/release/vs_buildtools.exe
+ vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe PR incoming. |
16 is VS 2019, 17 is VS 2022. I think we want to remain on 2019. Or we may need to change the install config file to install the 2019 libraries. |
Oh you're right, thanks, closing my PR. |
What feature do you want to see added?
Since #1143, VS2019 is now part of our Windows 2019 images.
But the installation fails on Windows 2022: stuck at the step
(ref. #1143 (comment)).
cc @slide
The text was updated successfully, but these errors were encountered: