Microsoft Introduces Public Preview of C++ App Modernization with GitHub Copilot
Microsoft has announced a public preview of a new feature for GitHub Copilot that helps modernize C++ applications. This tool is designed to make it easier for developers to upgrade their C++ projects to use the latest MSVC Build Tools versions. The preview is available now through the Visual Studio 2026 Insiders channel, offering a glimpse into how AI can assist in code updates and project management.
Enhancements and Feedback From Private Preview
Before this public rollout, Microsoft had already tested the app modernization feature in a private preview back in November, coinciding with the launch of Visual Studio 2026. Based on feedback from early users, Microsoft has made several improvements. These include better support for CMake projects, fewer hallucinations (incorrect suggestions), and fewer critical errors that could halt progress. They also enhanced Copilot’s ability to handle internal compiler errors and better understand when project files need updates to support newer MSVC versions.
The goal is to reduce the workload on developers when upgrading their projects. By automating much of the process, Microsoft hopes to make it less error-prone and more efficient, saving developers time and effort. The company emphasizes that this tool is especially helpful when adopting newer compiler versions, which can often be a complex and tedious task.
How the App Modernization Process Works
Microsoft describes the modernization process as a three-step cycle: assessment, planning, and execution. First, GitHub Copilot examines the project to see if it can be updated to use the latest MSVC tools. It then plans out what changes are needed and proposes these to the user for approval.
Once the user agrees, Copilot carries out the necessary updates and performs an initial build to check for issues. If problems are detected, it suggests solutions and waits for the user’s confirmation before proceeding. The tool continues to iterate through this cycle until all issues are resolved or the user decides to stop. This approach aims to make the upgrade process transparent and controllable, giving developers confidence that their projects will remain stable after modernization.
Microsoft states that this AI-powered tool can significantly cut down on the manual work involved in project upgrades. By automating assessments and updates, developers can focus more on building features rather than troubleshooting compatibility problems. The company plans to gather further feedback from users during the public preview to refine the tool before a wider release.












What do you think?
It is nice to know your opinion. Leave a comment.