Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Transform your legacy C++ applications with confidence. Whether you're upgrading from Visual Studio 2008 or modernizing to take advantage of the latest C++ features, this comprehensive guide provides everything you need for a successful upgrade journey.

π Quick start
Most projects upgrade seamlessly: For projects created in Visual Studio 2010-2017, simply open them in the latest Visual Studio. For Visual Studio 2008 or earlier projects, use our two-step upgrade process.
Binary compatibility: Visual Studio 2015, 2017, 2019, 2022, and 2026 build tools are binary-compatible, so you can upgrade without rebuilding library dependencies. Learn more.
CMake projects: For projects using open-source libraries or targeting multiple platforms, consider migrating to CMake. Learn more.
π‘ Why upgrade?
- πββοΈ Better Performance: Faster execution and build times
- π Enhanced Security: Address sanitizers and security features
- π Standards Compliance: Modern C++ features and conformance
- π οΈ Better Tools: Advanced debugging and analysis capabilities
π― Choose your upgrade path
π Assess & plan
Evaluate your current codebase and plan your strategy
π§ Upgrade & modernize
Step-by-step guides and tools for upgrading
- β¬οΈ Upgrading C++ Projects to Visual Studio 2026
- β¬οΈ Upgrade projects from earlier versions
- π€ Upgrade with an AI agent
- π οΈ IDE tools for upgrading C++ code
- π Upgrade to Universal CRT
- π§ Update WINVER and _WIN32_WINNT
- π Fix dependencies on library internals
- π Floating-point migration issues
π Platform migration
Move your applications to modern platforms
β¨ Success stories & examples
Learn from real-world upgrade experiences
π οΈ Upgrade benefits
Performance & optimization
- Faster execution with improved compiler optimizations
- Reduced build times through compiler and linker improvements
- Better memory usage with modern runtime optimizations
Security & reliability
- Enhanced security with address sanitizers and guard checking
- Secure runtime libraries with improved CRT security features)
- Better error detection with static analysis tools
Developer experience
- Modern IDE features with IntelliSense improvements
- Advanced debugging with better visualizers and diagnostics
- Code analysis with Core Guidelines checkers and Clang-Tidy
Standards & compatibility
- Better C++ standards conformance with
/permissive-mode - Modern preprocessor for improved code conformance. Learn more
- Cross-platform support with CMake integration
π€ Multitargeting vs. upgrading
Not ready for a full upgrade? You can still use the latest Visual Studio with older build tools and libraries:
- β Modern static analysis tools including C++ Core Guidelines checkers and Clang-Tidy
- β Automatic code formatting to improve legacy code readability
- β Latest IDE features while maintaining compatibility
Learn about native multi-targeting β
π Ready to start?
- π Assess your current project with our upgrade issues overview
- π Follow our step-by-step guide to upgrade from earlier versions
- π οΈ Use our IDE tools to streamline the upgrade process
- π Learn from others with our real-world case studies
Questions? Join the conversation in Microsoft Learn Q&A or check out the C++ Team Blog for the latest updates.
See also
C++ in Visual Studio
What's new for the C++ compiler in Visual Studio
C++ conformance improvements in Visual Studio