Skip to content

Commit e018969

Browse files
Merge pull request #6133 from TylerMSFT/whatsnew
What's new for VS 2026/MSVC 14.50
2 parents 0c95609 + 61c95ca commit e018969

8 files changed

+115
-3
lines changed

docs/overview/how-to-report-a-problem-with-the-visual-cpp-toolset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "How to report a problem with the Microsoft C++ Build Tools"
33
description: How to create a good problem report and repro information for the Microsoft C++ toolset.
44
ms.date: "09/24/2019"
55
ms.service: "visual-cpp"
6-
ms.subservice: "ide"
6+
ms.subservice: "cpp-lang"
77
author: "tylermsft"
88
ms.author: "twhitney"
99
---
94.2 KB
Loading
17.6 KB
Loading
4.98 KB
Loading

docs/overview/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ items:
66
href: ../overview/visual-cpp-in-visual-studio.md
77
- name: Overview of C++ development in Visual Studio
88
href: ../overview/overview-of-cpp-development.md
9+
- name: What's new for MSVC Build Tools
10+
href: ../overview/what-s-new-for-msvc.md
911
- name: What's new for C++ in Visual Studio 2022
1012
href: ../overview/what-s-new-for-visual-cpp-in-visual-studio.md
1113
- name: What's new for C++ in Visual Studio 2019
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
title: "What's new for MSVC Build Tools"
3+
description: "The new features and fixes in the Microsoft C/C++ compiler and tools (MSVC)."
4+
ms.date: 11/10/2025
5+
ms.service: "visual-cpp"
6+
ms.subservice: "cpp-lang"
7+
ms.custom: intro-whats-new
8+
---
9+
10+
# What's new for MSVC Build Tools
11+
12+
Version 14.50 brings many updates and fixes to the Microsoft C++ compiler and other build tools.
13+
14+
- For more information about what's new in all of Visual Studio, see [What's new in Visual Studio](/visualstudio/ide/whats-new-visual-studio).
15+
16+
## What's new for MSVC Build Tools version 14.50
17+
18+
* Introduced in Visual Studio 2026 version 18.0 released November 2025.
19+
20+
Visual Studio 2026 version 18.0 ships with the v145 platform toolset for MSBuild C++ projects and Microsoft C++ (MSVC) Build Tools version 14.50, which offers the best conformance, build performance, and runtime performance story yet. To access all the new language features, build with `/std:c++latest`. Or, if you want to be restricted to features up to C++23, use `/std:c++23preview`.
21+
22+
MSVC Build Tools version 14.50 preserves binary compatibility with code built with MSVC tools shipped in Visual Studio 2015 or later. For more information about binary compatibility, see [C++ binary compatibility between Visual Studio versions](/cpp/porting/binary-compat-2015-2017).
23+
24+
| For detailed information about | See |
25+
|---|---|
26+
| What's new for C++ developers | [What’s New for C++ Developers in Visual Studio 2026 version 18.0](https://devblogs.microsoft.com/cppblog/whats-new-for-cpp-developers-in-visual-studio-2026-version-18-0) |
27+
| Standard Library (STL) improvements | [STL Changelog MSVC Build Tools 14.50](https://github.com/microsoft/STL/wiki/Changelog#msvc-build-tools-1450) |
28+
| C++ language updates | [C++ Language Updates in MSVC Build Tools v14.50](https://devblogs.microsoft.com/cppblog/c-language-updates-in-msvc-build-tools-v14-50/) |
29+
| C++ language conformance improvements | [C/C++ Conformance improvements, behavior changes, and bug fixes in Microsoft C++ (MSVC) Build Tools](msvc-conformance-improvements.md) |
30+
31+
Here's a quick highlight of some of the new features in MSVC Build Tools version 14.50 and Visual Studio 2026 version 18.0:
32+
33+
### C++ language enhancements
34+
35+
- C++20 is the default for new Console App, Windows Desktop Application, Dynamic-Link Library, and Static Library C++ projects.
36+
- C++23 preprocessing directive `#warning` allows you to generate a diagnostic message without stopping translation as `#error` does. For more information, see [`#warning` directive](/cpp/preprocessor/hash-warning-directive-c-cpp).
37+
- Easily set debugger command-line arguments for any C++ project using the toolbar for `.vcxproj`, CMake, and Unreal Engine projects. This feature is no longer tied to the Game Development with C++ workload, and is available to all C++ developers without installing any other workloads or components. For more information, see [Pass command-line arguments](/visualstudio/debugger/getting-started-with-the-debugger-cpp?view=visualstudio&preserve-view=true).
38+
39+
### Standard Library enhancements
40+
41+
- Enhanced `<regex>` reliability and speed. [LWG-2503](https://cplusplus.github.io/LWG/issue2503) added a multiline option to `syntax_option_type`. This is a `regex` behavioral change. By default, `_REGEX_LEGACY_MULTILINE_MODE` is 0, which requests Standard behavior. Set `_REGEX_LEGACY_MULTILINE_MODE` to 1 to request legacy behavior. For more information, see [STL Changelog](https://github.com/microsoft/STL/wiki/Changelog#msvc-build-tools-1450).
42+
- Added and improved vectorized implementations of many types and functions.
43+
44+
### GitHub Copilot enhancements
45+
46+
- Copilot Chat allows you to use natural language to get answers to questions (Ask mode) or even implement changes for you automatically (Agent Mode).
47+
- Copilot Chat is smarter with improved context for everyday tasks. Expect better results when searching your codebase and referencing specific lines in your code.
48+
- A **Copilot Actions** option was added to the right-click context menu in the Visual Studio editor. Use it to quickly bring a specific file or lines of code you select to the attention of Copilot Chat. You can then ask Copilot to explain what the code does, make optimizations, generate comments, generate unit tests, and more.
49+
- Better AI code completions for C++. GitHub Copilot uses context from relevant files to improve inline autocomplete for C++. GitHub Copilot includes other relevant files as context which reduces hallucinations while offering more relevant and accurate suggestions.
50+
- For more information, see [New GitHub Copilot capabilities for C++ developers: Upgrade MSVC, improve build performance, and refactor C++ code](https://devblogs.microsoft.com/cppblog/new-github-copilot-capabilities-for-c-developers-upgrade-msvc-improve-build-performance-and-refactor-c-code/).
51+
52+
### Build enhancements
53+
54+
- Visual Studio 2026 now includes CMake 4.1.1 by default. CMake also includes a Visual Studio 2026 generator and supports modern SLNX projects, so you can build Visual Studio C++ projects directly from CMake.
55+
- Includes the latest version of the IncrediBuild engine and an updated extension that works with Visual Studio 2026 version 18.0.
56+
- Compiler backend runtime performance improvements. Compared to Visual Studio version 17.14, there's up to a 6% improvement on Unreal Engine's City Sample RenderThread and up to +3% improvements on Unreal Engine's City Sample GameThread benchmark. For more information, see [Why you should upgrade your C++ build tools](https://devblogs.microsoft.com/cppblog/upgrading-c-projects-to-visual-studio-2026/#why-you-should-upgrade-your-c++-build-tools).
57+
- The Visual Studio setup assistant can help you retarget your projects to build with the latest MSVC Build Tools. For more information, see [Retarget your projects with the setup assistant](https://devblogs.microsoft.com/cppblog/upgrading-c-projects-to-visual-studio-2026/#retarget-your-projects-with-the-setup-assistant).
58+
59+
### Code analysis enhancements
60+
61+
- Clang-Tidy code analysis improvements provide enhanced configuration options for faster builds and custom workflows:
62+
- Code analysis has new configuration options. You can now allocate more processors to run code analysis as part of your build, speeding up your development workflow.
63+
- You can add custom arguments to the command line used to invoke `clang-tidy`, giving you complete control over your analysis setup.
64+
- Access the new options from **Project Properties** > **Code Analysis** > **Clang-Tidy**:
65+
66+
![Screenshot of Project Properties dialog showing clang-tidy configuration options including processor allocation and custom command line arguments](./media/clang-tidy-improvements.png)
67+
- AddressSanitizer support for ARM64 Builds (Preview): For some time, the MSVC Build Tools have supported building projects that target x64 and x86 with [AddressSanitizer](/cpp/sanitizers/asan), which allows you to identify hard-to-find memory safety issues with zero false positives at runtime and increase memory safety. Now you can use AddressSanitizer to target ARM64. This feature is in preview.
68+
69+
### Productivity enhancements
70+
71+
- Generate preprocessed output for a C++ file. In Visual Studio, right-click a C++ file to instantly generate its preprocessed output, making it easy to debug macros and includes, and see errors immediately: ![Screenshot showing the right-click context menu for a C++ file with the Preprocess option highlighted.](./media/cpp-preprocess-menu-entry.png)
72+
- The Visual Studio debugger now shows the return values of functions inline. This provides real-time visibility into function behavior without stepping into code or setting up watches, making it faster to catch logic issues or unexpected results: ![Screenshot showing inline post-return values displayed in the debugger next to function call."](./media/inline-post-return-value.png)
73+
74+
### Other changes
75+
76+
- In the Visual Studio installer, the *C++ Linux* workload is renamed *Linux, Mac, and embedded development with C++*.
77+
78+
### Deprecations
79+
80+
- The minimum supported target operating systems for the MSVC Build Tools version 14.50 are Windows 10 or Windows Server 2016.
81+
- MSVC Build Tools version 14.50 no longer targets:
82+
83+
- Windows 7 / Windows Server 2008 R2
84+
- Windows 8 / Windows Server 2012
85+
- Windows 8.1 / Windows Server 2012 R2
86+
87+
These changes allow for better performance, enhanced security, and alignment with the most recent Windows platform capabilities.
88+
89+
The MSVC compiler switch [`/await`](/cpp/build/reference/await-enable-coroutine-support) is deprecated and will be removed in a future release. This switch enabled an early draft implementation of C++ coroutines using the `<experimental/coroutine>` header. Developers should transition to standard C++ coroutines by using the `<coroutine>` header available in C++20 and later. For C++14/17 projects, use `/await:strict` (which isn't being deprecated) to access the standard `<coroutine>` header without enabling other C++20 features.
90+
91+
The Mobile development with C++ workload for iOS and Android, as well as the Embedded and IoT tools (RTOS Viewer, Serial Monitor, Peripheral Viewer, and ST Project Import), are no longer supported and will be removed in a future update. The Android NDKs included in the Mobile development with C++ workload remain supported. This impacts tooling support for iOS and Android development, including new projects, building, and debugging.
92+
93+
### Removed features
94+
95+
- C++AMP
96+
- ARM32 toolchain: if you still need to build for ARM32, use an older version of the MSVC Build Tools. For more information, see [Side-by-side Minor Version MSVC Toolsets in Visual Studio 2019](https://devblogs.microsoft.com/cppblog/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2019/).
97+
- `/DEBUG:FASTLINK` linker switch. Use [`/DEBUG:FULL`](/cpp/build/reference/debug-generate-debug-info) for improved debugging support.
98+
99+
## Feedback and suggestions
100+
101+
We'd love to hear from you! You can [Report a Problem or Suggest a Feature](/visualstudio/ide/how-to-report-a-problem-with-visual-studio) by using the Send Feedback icon in the upper right-hand corner of either the installer or the Visual Studio IDE, or from **Help** > **Send Feedback**. You can track your issues by using [Visual Studio Developer Community](https://developercommunity.visualstudio.com/), where you add comments or find solutions. You can also get free installation help through our [Live Chat support](https://visualstudio.microsoft.com/vs/support/#talktous).
102+
103+
## Blogs
104+
105+
Take advantage of the insights and recommendations available in the [Microsoft Developer Blogs](https://devblogs.microsoft.com/) site to stay up to date on all new releases. The blogs include deep dive posts on a broad range of features. The [C++ Team Blog](https://devblogs.microsoft.com/cppblog) and the [Visual Studio Blog](https://devblogs.microsoft.com/visualstudio) are of particular interest.

docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
---
22
title: "What's new for C++ in Visual Studio"
33
description: "The new features and fixes in the Microsoft C/C++ compiler and tools in Visual Studio."
4-
ms.date: 05/13/2025
4+
ms.date: 11/04/2025
55
ms.service: "visual-cpp"
66
ms.subservice: "ide"
77
ms.custom: intro-whats-new
88
ai-usage: ai-assisted
99
---
1010

11-
# What's new for C++ in Visual Studio 2022
11+
# What's new for C++ in Visual Studio
12+
13+
Microsoft C++ Build Tools (MSVC Build Tools) versioning is no longer synchronized with Visual Studio versioning starting with Visual Studio 2026 version 18.0 and Microsoft C++ Build Tools version 14.50. For the latest updates to MSVC going forward, see [What's new for MSVC](what-s-new-for-msvc.md).
14+
15+
## What's new for C++ in Visual Studio 2022
1216

1317
Visual Studio 2022 brings many updates and fixes to the Microsoft C++ compiler and tools. The Visual Studio IDE also offers significant improvements in performance and productivity, and now runs natively as a 64-bit application.
1418

docs/porting/visual-cpp-porting-and-upgrading-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ ms.author: twhitney
5959
### 🔧 Upgrade & modernize
6060
**Step-by-step guides and tools for upgrading**
6161

62+
- [⬆️ Upgrading C++ Projects to Visual Studio 2026](https://devblogs.microsoft.com/cppblog/upgrading-c-projects-to-visual-studio-2026/)
6263
- [⬆️ Upgrade projects from earlier versions](upgrading-projects-from-earlier-versions-of-visual-cpp.md)
6364
- [🛠️ IDE tools for upgrading C++ code](ide-tools-for-upgrading-code.md)
6465
- [🔄 Upgrade to Universal CRT](upgrade-your-code-to-the-universal-crt.md)

0 commit comments

Comments
 (0)