Skip to content

Install optional Visual Studio components for compatibility

Ghost User requested to merge (removed):main into main

What does this MR do?

Add a number of missing Visual Studio components to the Windows image.

Why was this MR needed?

Without this, many Windows application cannot be built on GitLab's shared runner.

For example, any MFC-based GUI application won't compile because ATL/MFC are marked optional (hence not installed by default) on Visual Studio 2019.

NOTE: GitHub's runner includes these components by default. For this reason, we currently have a class of applications that 1) we cannot easily build on GitLab.com, 2) but can trivially on GitHub.

This patch should bring GitLab CI a bit more closer to feature parity with GitHub Actions.

What's the best way to test this MR?

Run chef and comfirm that the Windows image builds successfully.

What are the relevant issue numbers?

Edited by Ghost User

Merge request reports