{"id":33499,"date":"2024-02-01T18:51:22","date_gmt":"2024-02-01T18:51:22","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=33499"},"modified":"2024-02-01T18:51:22","modified_gmt":"2024-02-01T18:51:22","slug":"msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10\/","title":{"rendered":"MSVC Toolset Minor Version Number 14.40 in VS 2022 v17.10"},"content":{"rendered":"<p>As we approach delivery of Visual Studio 2022 v17.9, the MSVC toolset version is 14.39. In Visual Studio 2022 version 17.10, the MSVC Toolset minor version will continue with 14.40 and continue incrementing in the \u201814.4x\u2019 series.<\/p>\n<p>The file version and directories in Visual Studio v17.10 and subsequent installations will appear as follows:<\/p>\n<p>[VSInstallDir]\\VC\\Tools\\MSVC\\14.<strong><em>4x<\/em><\/strong>.<strong><em>BBBBB<\/em><\/strong><\/p>\n<p><em>Where: <\/em><\/p>\n<ul>\n<li><em>\u2018<\/em><strong><em>4x<\/em><\/strong><em>\u2019 is a digit 40-49, where the \u2018x\u2019 value will continue to increase in future Visual Studio releases, starting with \u201840\u2019<\/em> in VS 2022 v17.10<em>.<\/em><\/li>\n<li><em>\u2018<\/em><strong><em>BBBBB<\/em><\/strong><em>\u2019 is a build-specific version 5-digit number, which increases with each release\/update\/servicing update.<\/em><\/li>\n<\/ul>\n<p>We will make separate announcements about MSVC compiler toolset versions beyond 14.4x (i.e., versions &gt;= 14.50) at an appropriate time in the future.<\/p>\n<h3>Build System and Library Impact<\/h3>\n<p>In Visual Studio 2022 version 17.10 and later, in-box project system support is being updated to support MSVC toolsets in the 14.4x version range. Specifically:<\/p>\n<ul>\n<li>The C++ Project System (MS Build) is being updated to support \u201814.4x\u2019 MSVC toolsets under the v143 Platform Toolset.<\/li>\n<\/ul>\n<p><img decoding=\"async\" width=\"1384\" height=\"381\" class=\"wp-image-33506\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-description-automatica-1.png\" alt=\"A screenshot of a computer Description automatically generated\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-description-automatica-1.png 1384w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-description-automatica-1-300x83.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-description-automatica-1-1024x282.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-description-automatica-1-768x211.png 768w\" sizes=\"(max-width: 1384px) 100vw, 1384px\" \/><\/p>\n<p><img decoding=\"async\" width=\"1290\" height=\"248\" class=\"wp-image-33507\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-program-description-au-1.png\" alt=\"A screenshot of a computer program Description automatically generated\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-program-description-au-1.png 1290w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-program-description-au-1-300x58.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-program-description-au-1-1024x197.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/a-screenshot-of-a-computer-program-description-au-1-768x148.png 768w\" sizes=\"(max-width: 1290px) 100vw, 1290px\" \/><\/p>\n<ul>\n<li>We have validated that CMake support in Visual Studio 2022 supports the minor version change.<\/li>\n<\/ul>\n<p>Custom build systems, projects, libraries, and VS Extensions checking for valid MSVC build version will need to be adjusted to allow for \u201814.4x\u2019. For example, code which checks the _MSC_VER predefined macro and assumes that all Visual Studio 2022 versions of MSVC having a value below 1940 will need to be updated.<\/p>\n<p>Table 1. Mapping of VS 2022 update releases to current MSVC versions<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"161\"><strong><span style=\"font-size: 10pt;\">Visual Studio Releases<\/span><\/strong><\/td>\n<td width=\"211\"><strong><span style=\"font-size: 10pt;\">Updates with new MSVC Tools<\/span><\/strong><\/td>\n<td width=\"137\"><strong><span style=\"font-size: 10pt;\">MSVC version\u00a0\u00a0<\/span><\/strong><\/td>\n<td width=\"102\"><strong><span style=\"font-size: 10pt;\">_MSC_VER<\/span><\/strong><\/td>\n<td width=\"120\"><strong><span style=\"font-size: 10pt;\">End of Support<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><span style=\"font-size: 10pt;\"><strong>Visual Studio 2022<\/strong><\/span><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">\u00a0GA (Version 17.0) LTSC<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.30.30705<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1930<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Jul 11, 2023<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.1<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.31.31103<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1931<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">May 10, 2022<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.2 LTSC<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.32.31326<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1932<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Jan 9, 2024<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.3<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.33.31629<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1933<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Nov 8, 2022<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.4.14 LTSC<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.34.31948<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1934<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Jul 11, 2024<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.5.3<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.35.32216<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1935<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">May 16, 2023<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.6.11 LTSC<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.36.32544<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1936<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Jan 9, 2025<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.7.7<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.37.32826<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1937<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Nov 14, 2023<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.8.6 LTSC<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.38.33135<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1938<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">Jul 8, 2025<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.9<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.39.xxxxx<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1939<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">TBD<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">Version 17.10<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">19.40.xxxxx<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">1940<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">TBD<\/span><\/td>\n<\/tr>\n<tr>\n<td width=\"161\"><span style=\"font-size: 10pt;\"><strong>\u00a0<\/strong><\/span><\/td>\n<td width=\"211\"><span style=\"font-size: 10pt;\">\u2026<\/span><\/td>\n<td width=\"137\"><span style=\"font-size: 10pt;\">\u2026<\/span><\/td>\n<td width=\"102\"><span style=\"font-size: 10pt;\">\u2026<\/span><\/td>\n<td width=\"120\"><span style=\"font-size: 10pt;\">\u2026<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>Side-By-Side MSVC Toolsets<\/h3>\n<p>We recognize that it may not be possible to immediately address existing built-in checks in build environments. To mitigate issues encountered, until built-in checks are updated, we recommend using an older MSVC Toolset in VS 2022 via the <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2019\/\">Side-By-Side Minor Version MSVC Toolsets<\/a> feature.<\/p>\n<p>In addition to the mechanism provided in the linked blog post, it is also possible to select a SxS toolset in the C++ Project system on a per-project basis via Project Properties &gt; Advanced &gt; MSVC Toolset Version. The drop-down will contain the installed MSVC Toolsets under the v143 Platform Toolset.<\/p>\n<p><img decoding=\"async\" width=\"1210\" height=\"613\" class=\"wp-image-33508\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/word-image-33499-3-1.png\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/word-image-33499-3-1.png 1210w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/word-image-33499-3-1-300x152.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/word-image-33499-3-1-1024x519.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/01\/word-image-33499-3-1-768x389.png 768w\" sizes=\"(max-width: 1210px) 100vw, 1210px\" \/><\/p>\n<h3>Send us your feedback<\/h3>\n<p>Your feedback is invaluable to us as we strive to enhance your experience. Please feel free to leave your comments below. Alternatively, you can share your thoughts through the\u00a0<a href=\"https:\/\/developercommunity.visualstudio.com\/cpp\" target=\"_blank\" rel=\"noopener\">Visual Studio Developer Community<\/a>, where we have created <a href=\"https:\/\/aka.ms\/msvc-ver14.40-devcom\">this feedback item<\/a> related to this announcement. We are also available on Twitter (<a href=\"https:\/\/twitter.com\/visualc\" target=\"_blank\" rel=\"noopener\">@VisualC<\/a>) and can be reached via email at visualcpp@microsoft.com. We look forward to hearing from you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we approach delivery of Visual Studio 2022 v17.9, the MSVC toolset version is 14.39. In Visual Studio 2022 version 17.10, the MSVC Toolset minor version will continue with 14.40 and continue incrementing in the \u201814.4x\u2019 series. The file version and directories in Visual Studio v17.10 and subsequent installations will appear as follows: [VSInstallDir]\\VC\\Tools\\MSVC\\14.4x.BBBBB Where: [&hellip;]<\/p>\n","protected":false},"author":44789,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus"],"acf":[],"blog_post_summary":"<p>As we approach delivery of Visual Studio 2022 v17.9, the MSVC toolset version is 14.39. In Visual Studio 2022 version 17.10, the MSVC Toolset minor version will continue with 14.40 and continue incrementing in the \u201814.4x\u2019 series. The file version and directories in Visual Studio v17.10 and subsequent installations will appear as follows: [VSInstallDir]\\VC\\Tools\\MSVC\\14.4x.BBBBB Where: [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/33499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/44789"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=33499"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/33499\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=33499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=33499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=33499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}