For new C++ projects, use v143 (VS 2022). For existing v141 projects, plan migration to v142 or v143 before the end of extended support (2027).
To detect v141 in a build script:
The specific _MSC_VER macro value changes with each update to VS 2017: visual studio v141
Option to Install v141 toolset no longer exists - Developer Community For new C++ projects, use v143 (VS 2022)
Though superseded, v141 remains in use for: For new C++ projects