{"id":255007,"date":"2025-12-01T08:24:40","date_gmt":"2025-12-01T16:24:40","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=255007"},"modified":"2025-12-01T08:24:40","modified_gmt":"2025-12-01T16:24:40","slug":"upgrade-msvc-improve-c-build-performance-and-refactor-c-code-with-github-copilot","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/upgrade-msvc-improve-c-build-performance-and-refactor-c-code-with-github-copilot\/","title":{"rendered":"Upgrade MSVC, improve C++ build performance, and refactor C++ code with GitHub Copilot"},"content":{"rendered":"<p><span data-contrast=\"auto\">Visual Studio 2026 introduces new GitHub Copilot capabilities to support C++ developers in three development tasks:<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"0\" data-aria-level=\"1\"><span data-contrast=\"auto\">Performing large-scale C++ refactors<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Improving C++ build\u00a0performance\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Upgrading\u00a0Microsoft C++ (MSVC) Build Tools<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">These experiences are available now as a Private Preview in Visual Studio 2026.\u00a0<\/span><a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\"><span data-contrast=\"none\">Install Visual Studio 2026<\/span><\/a><span data-contrast=\"auto\">\u00a0and\u00a0<\/span><a href=\"https:\/\/www.surveymonkey.com\/r\/WM86Y8H\"><span data-contrast=\"none\">join the waitlist for Private Preview<\/span><\/a><span data-contrast=\"auto\">\u00a0today.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/www.surveymonkey.com\/r\/WM86Y8H\" target=\"_blank\">Join the Private Preview<\/a><\/div><\/p>\n<h2><span class=\"TextRun SCXW96206533 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW96206533 BCX8\" data-ccp-parastyle=\"heading 2\">C++ code editing tools for GitHub Copilot<\/span><\/span><span class=\"EOP SCXW96206533 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">C++ code editing tools for GitHub Copilot bring the\u00a0precision\u00a0of C++ IntelliSense to Visual Studio agent mode to enable faster and more\u00a0accurate\u00a0codebase-wide edits. This includes:<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Viewing all references across your codebase<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">Understanding relevant metadata (e.g., type, declaration, and scope)<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"auto\">Visualizing class inheritance hierarchies<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551671&quot;:0,&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"1\"><span data-contrast=\"auto\">Tracing function call chains<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">See <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/perform-wide-sweeping-refactors-using-c-code-editing-tools-for-github-copilot\/\">Perform wide-sweeping refactors using C++ code editing tools for GitHub Copilot<\/a> on the C++ Team Blog<\/span><span data-contrast=\"auto\">\u00a0for more information.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/PWmLjg0HFT4\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><span class=\"TextRun SCXW84668945 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW84668945 BCX8\" data-ccp-parastyle=\"heading 2\">GitHub Copilot build performance for Windows<\/span><\/span><span class=\"EOP SCXW84668945 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW226218641 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW226218641 BCX8\">GitHub Copilot build performance for Windows uses the power of Build Insights to analyze your C++ build and suggest changes to improve performance. Check out <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/optimize-your-c-build-times-with-github-copilot\/\">Optimize Your C++ Build Times with GitHub Copilot<\/a> on the C++ Team Blog<\/span><\/span><span class=\"TextRun SCXW226218641 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW226218641 BCX8\">\u00a0to learn more.<\/span><\/span><span class=\"EOP SCXW226218641 BCX8\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/twQTixBZen8\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><span class=\"TextRun SCXW186793278 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW186793278 BCX8\" data-ccp-parastyle=\"heading 2\">GitHub Copilot app modernization for C++<\/span><\/span><span class=\"EOP SCXW186793278 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW217176610 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW217176610 BCX8\">GitHub Copilot app modernization for C++ helps you migrate your C++ projects to a newer version of the MSVC Build Tools and resolve all warnings and errors. See <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/app-modernization-cpp-private-preview\/\">Fix build issues using GitHub Copilot after upgrading MSVC Build Tools<\/a> on the C++ Team Blog <\/span><\/span><span class=\"TextRun SCXW217176610 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW217176610 BCX8\">for more information.<\/span><\/span><span class=\"EOP SCXW217176610 BCX8\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/eCFb_VyNMWU\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><span class=\"TextRun SCXW103201442 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103201442 BCX8\" data-ccp-parastyle=\"heading 2\">Thank you for your feedback<\/span><\/span><span class=\"EOP SCXW103201442 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">We\u2019re\u00a0excited to build alongside you and deliver new capabilities that make GitHub Copilot even more valuable for C++ developers.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">If you\u2019re curious about these new capabilities, sign up for the <\/span><a href=\"https:\/\/www.surveymonkey.com\/r\/WM86Y8H\"><span data-contrast=\"none\">Private Preview waitlist<\/span><\/a><span data-contrast=\"auto\">. If you have general feedback on Visual Studio 2026, you can <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio?view=vs-2022\"><span data-contrast=\"none\">file an issue or suggestion<\/span><\/a><span data-contrast=\"auto\">\u202fon Developer Community.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio 2026 introduces new GitHub Copilot capabilities to support C++ developers in three development tasks:\u00a0 Performing large-scale C++ refactors\u00a0 Improving C++ build\u00a0performance\u00a0\u00a0 Upgrading\u00a0Microsoft C++ (MSVC) Build Tools\u00a0 These experiences are available now as a Private Preview in Visual Studio 2026.\u00a0Install Visual Studio 2026\u00a0and\u00a0join the waitlist for Private Preview\u00a0today.\u00a0 C++ code editing tools for GitHub [&hellip;]<\/p>\n","protected":false},"author":2953,"featured_media":255013,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6888,155],"tags":[],"class_list":["post-255007","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-copilot","category-visual-studio"],"acf":[],"blog_post_summary":"<p>Visual Studio 2026 introduces new GitHub Copilot capabilities to support C++ developers in three development tasks:\u00a0 Performing large-scale C++ refactors\u00a0 Improving C++ build\u00a0performance\u00a0\u00a0 Upgrading\u00a0Microsoft C++ (MSVC) Build Tools\u00a0 These experiences are available now as a Private Preview in Visual Studio 2026.\u00a0Install Visual Studio 2026\u00a0and\u00a0join the waitlist for Private Preview\u00a0today.\u00a0 C++ code editing tools for GitHub [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/255007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/2953"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=255007"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/255007\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255013"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=255007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=255007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=255007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}