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

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)



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

VS2017:

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

 


VS2019:

 

-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:

 
-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

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


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 :

VS2017:
Gen 8.6 Complete: WKS86200/SO09618
The VS 2017 support was originally delivered with a series of *861* PTFs (BTN86113, BTN86115, CCN86104, RTA86107, RTN86117, and TSN86116) but WKS86200 supersedes them (Gen™ 8.6 > Technical Requirements > Change Summary)

VS 2019:
Gen 8.6 Complete: WKS86200/SO09618
Gen 8.6.3 Consolidation: WKS86300/LU06327
The VS 2019 support was originally delivered with a series of *862* PTFs (BTN86201, RTN86208, and TSN86209) but WKS86300 supersedes them (Gen™ 8.6 > Technical Requirements > Change Summary)

VS 2022:
Gen 8.6 Complete: WKS86200/SO09618
Gen 8.6.3 Consolidation: WKS86300/LU06327
BTN86304/LU11727
RTN86315/LU11729
TSN86309/LU11728

For further details of Gen 8.6 PTFs see: Gen 8.6 Solutions & Patches