actions / runner-images

GitHub Actions runner images
MIT License
10.24k stars 3.08k forks source link

2022 runner is missing afxres.h #10982

Closed DavidXanatos closed 3 days ago

DavidXanatos commented 1 week ago

Description

When building MSVC projects with resource files *.rc using afxres.h we get a afxres.h not found error, seams some VS components are missing.

Platforms affected

Runner images affected

Image version and build link

https://github.com/DavidXanatos/Sandboxie-Dev/actions/runs/11881425234/job/33105747062

Is it regression?

idk

Expected behavior

the file should be present as its an integral part of MFC

Actual behavior

the file is missing

Repro steps

Build a MSVC project with a VS generated resource file

Prabhatkumar59 commented 1 week ago

Hi @DavidXanatos - Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.

subir0071 commented 5 days ago

Hi @DavidXanatos , I was able to reproduce the error at our internal lab for windows-2022 runner image. However, the workflow executed successfully in windows-2019.

Also, from the workflow page we see that the build was never successful i windows-2022.

We suggest to revert the runner to windows-2019 or re-evaluate the application and configuration to execute in windows 2022 environment.

In case there is a need to install any visual studio missing workload, please feel free to revert. Thanks.

subir0071 commented 3 days ago

Closing the ticket as user response awaited. @DavidXanatos, Please feel free to let us know in case of further queries.