November 12th, 2025
0 reactions

Fix build issues using GitHub Copilot after upgrading MSVC Build Tools

Michael Price
Senior Product Manager

A few problems have reared their heads at every company where I’ve worked on C++ as a Software Engineer over the past 20 years. For the most part, those problems have nothing to do with the language and how it is used, but instead all the “other” stuff, like dealing with long build times, getting consistent build environments, and managing the technical debt of an evolving tooling landscape.

When the tools we use to build our applications and systems have new releases, we must make hard decisions. Do we adopt the latest and greatest and turn potential technical debt into realized technical debt, or do we err on the side of the stability of our systems, perhaps at the cost of critical performance or security improvements? A reasonable approach is to weigh the benefits we will gain against the costs of dealing with different codegen, stricter language conformance, and deprecated or removed features.

Visual Studio error window showing various errors and warnings after upgrading to MSVC 14.50

GitHub Copilot app modernization for C++, available in Private Preview in the latest version of Visual Studio 2026 Insiders, tips the scale, greatly reducing the toil incurred when adopting newer versions of MSVC. Let GitHub Copilot churn through that technical debt while you focus on adding that great new feature or finding and resolving the root cause of that bug found by your most important customer.

GitHub Copilot app modernization for C++ can launch the upgrade process, analyze the project for any warnings or errors, create a detailed plan on how to fix those issues, and then implement those changes. Along the way, you’ll have the opportunity to direct Copilot to focus on specific issues and to adjust the plan to fit your exact situation and coding practices. You won’t need to spend hours or days tracking down all the places where that deprecated API is used and manually applying the same pattern to adopt its replacement. And you won’t need to stare at your screen trying to decide which of the hundreds of new warnings should be the first that you should tackle; Copilot may even resolve them all before you’ve had time to understand the work and decide where to start.

Want to try it out?

GitHub Copilot app modernization for C++ is now available in Private Preview so that we can gather feedback from users with real world C++ codebases. If you want to help others, including your future self, by helping us make the experience as awesome as possible, please join our Private Preview waitlist. And in the meantime, go ahead and get started with the latest Visual Studio 2026 Insiders build!

 

Author

Michael Price
Senior Product Manager

0 comments