Gen 8.6 required Microsoft Visual Studio 2017, 2019, or 2022 options
search cancel

Gen 8.6 required Microsoft Visual Studio 2017, 2019, or 2022 options

book

Article ID: 124419

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

When installing Microsoft Visual Studio 2017, 2019, or 2022 (VS2017, VS2019, VS2022) for use with Gen 8.6, what options need to be selected?

Environment

Release: 8.6
Component: Gen Build Tool

Resolution


Introduction

By default when the VS2017, VS2019 or VS2022 installer opens only the default "Visual Studio core editor" is selected and appears on the right-hand side "Installation details" e.g. VS2022 installer:



4 additional Workloads need to be selected so that in total, these 5 bundles are visible on the right-hand side under "Installation details":

    1. Visual Studio core editor
    2. ASP.NET and web development
    3. .NET desktop development 
    4. Desktop development with C++ 
    5. Universal Windows Platform development <or> Windows Application Development (starting with VS2022 17.10) <or> WinUI Application Development (starting with VS2022 17.14)



If an alternative compiler such as VS2015 is needed, here are the individual components that need to be installed:

VS2017 when using alternative version compiler

Selecting "VC++ 2015.3 v14.00 (v140) toolset for desktop" will allow a build using the VS2015 compiler with a VS2017 product installation


VS2019 when using alternative version compiler

 

-Selecting "MSVC v140 - VS 2015 C++ build tools (v14.00)" will allow a build using the VS2015 compiler with a VS2019 product installation.
-Selecting "MSVC v141 - VS 2017 C++ x64/x86 build tools (V14.16) " will allow a build using the VS2017 compiler with a VS2019 product installation.
-Selecting "C++ ATL for v141 build tools (x86 & x64)" and "C++ MFC for v141 build tools (x86 & x64)" will allow a build using the VS2017 compiler with a VS2019 product installation.
-Selecting "C++ ATL for latest v142 build tools (x86 & x64)" and "C++ MFC for latest v142 build tools (x86 & x64)" will allow a build using the VS2019 compiler with a VS2019 product installation.

 

VS2022 when using alternative version compiler

 
-Selecting "MSVC v140 - VS 2015 C++ build tools (v14.00)" will allow a build using the VS2015 compiler with a VS2022 product installation.
-Selecting "MSVC v141 - VS 2017 C++ x64/x86 build tools (V14.16) " will allow a build using the VS2017 compiler with a VS2022 product installation.
-Selecting "MSVC v142 - VS 2019 C++ x64/x86 build tools (V14.29-16.11) " will allow a build using the VS2019 compiler with a VS2022 product installation.
-Selecting "C++ ATL for v141 build tools (x86 & x64)" and "C++ MFC for v141 build tools (x86 & x64)" will allow a build using the VS2017 compiler with a VS2022 product installation.
-Selecting "C++ v14.29 (16.11) ATL for v142 build tools (x86 & x64)" and "C++ v14.29 (16.11) MFC for v142 build tools (x86 & x64)" will allow a build  using the VS2019 compiler with a VS2022 product installation.
-Selecting "C++ ATL for latest v143 build tools (x86 & x64)" and "C++ MFC for latest v143 build tools (x86 & x64)" will allow a build using the VS2022 compiler with a VS2022 product installation.
 

Additional Information

NOTES:

  • August 22, 2024: With Visual Studio 2022 version 17.10, 'Universal Windows Platform development' workload was renamed 'Windows Application Development'.  The rename does not affect any other options or selections documented in this article.

  • June 19, 2026: With Visual Studio 2022 version 17.14, 'Windows Application Development' workload was renamed 'WinUI Application Development'.  The rename does not affect any other options or selections documented in this article.

Additional:

  1. Please also note these related KB articles:
    Gen 8.6 build "RC1015: cannot open include file 'afxres.h'"
    Error LGHT0103 when creating Windows GUI C MSI using the Build Tool

  2. Required PTFs
    Required Gen 8.6 PTFs for VS2017, VS2019, VS2022 support are :