{"id":253273,"date":"2025-05-19T09:00:43","date_gmt":"2025-05-19T16:00:43","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=253273"},"modified":"2025-05-19T10:10:22","modified_gmt":"2025-05-19T17:10:22","slug":"faster-net-upgrades-powered-by-github-copilot","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/faster-net-upgrades-powered-by-github-copilot\/","title":{"rendered":"Faster .NET Upgrades Powered by GitHub Copilot"},"content":{"rendered":"<h2>Introducing GitHub Copilot app modernization \u2013 Upgrade for .NET<\/h2>\n<p>You probably don\u2019t look forward to the process of modernizing your applications. It can be time consuming, risky, and full of manual toil. Today we\u2019re changing that.<\/p>\n<p>We\u2019re thrilled to introduce the public preview of <strong>GitHub Copilot app modernization &#8211; Upgrade for .NET<\/strong>, an AI-powered experience that helps you bring your .NET applications to the latest version quicker and more confidently than ever before. Powered by GitHub Copilot and Agent Mode, it serves as an intelligent upgrade companion that understands your code, determines the right upgrade path, and applies changes step by step with minimal manual effort.<\/p>\n<p>Read more about the public preview on our <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/github-copilot-upgrade-dotnet\">.NET blog.<\/a><\/p>\n<h2>Get Started with Faster .NET Upgrades Today!<\/h2>\n<p>Getting started with GitHub Copilot app modernization &#8211; Upgrade for .NET is easy.<\/p>\n<p><strong>Step 1: Install the Extension<\/strong>\nHead to the Visual Studio Marketplace and download the <strong>GitHub Copilot app modernization &#8211; Upgrade for .NET <\/strong>extension. Once installed, you\u2019re ready!<\/p>\n<p><strong>Step 2: Use Copilot Agent Mode<\/strong>\nTo unlock the full power of AI-assisted upgrades, install the latest version of <a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\">Visual Studio 17.14<\/a> and sign-in to a GitHub account with an active Copilot subscription.<\/p>\n<ol>\n<li><strong>Ensure you have agent mode enabled:<\/strong> In Visual Studio, go to Tools &gt; Options &gt; GitHub &gt; Copilot &gt; Copilot Chat and select &#8220;Enable agent mode in the chat pane.&#8221;<\/li>\n<li><strong>Turn on Agent Mode<\/strong>: To get started, open the GitHub Copilot Chat window, click the \u201c<strong>Ask<\/strong>\u201d button, then click \u201c<strong>Agent<\/strong>\u201d. This turns on Copilot Agent Mode, which gives you a smarter, more natural way to do the upgrades.<\/li>\n<li><strong>Select the Upgrade Tool:<\/strong> Once in Copilot Agent Mode, be sure to select the \u201c<strong>Upgrade\u201d<\/strong> tool from the Copilot Chat Tool Selector. Otherwise, Agent Mode won\u2019t be able to use the specialized upgrade tools.<\/li>\n<\/ol>\n<p><img decoding=\"async\" width=\"400\" height=\"436\" class=\"wp-image-253276\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-gif-of-a-user-selecting-the-correct-tool-in-agen.gif\" alt=\"A GIF of a user selecting the correct tool in Agent Mode in Copilot Chat \" \/><\/p>\n<p>For more information on Agent Mode, check out <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/agent-mode-has-arrived-in-preview-for-visual-studio\/\">our blog<\/a> on the topic.<\/p>\n<h2>How to Run the Upgrade<\/h2>\n<p>You\u2019ve got two options:<\/p>\n<p>Right-click your project or solution in Solution Explorer and select \u201cUpgrade with GitHub Copilot\u201d<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/solution-explorer-invocation-1.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-253289\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/solution-explorer-invocation-1.gif\" alt=\"solution explorer invocation 1 image\" width=\"400\" height=\"406\" \/><\/a><\/p>\n<p>Or, just tell Copilot what you want to do in the chat:\n\ud83d\udc49 <em>\u201cUpgrade my solution to .NET 8\u201d<\/em><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/help-me-upgrade-my-solution-1.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-253290\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/help-me-upgrade-my-solution-1.gif\" alt=\"help me upgrade my solution 1 image\" width=\"400\" height=\"635\" \/><\/a><\/p>\n<p>That\u2019s it. GitHub Copilot gets to work analyzing your code, preparing the upgrade, and guiding you through code changes.<\/p>\n<h2>What\u2019s Included?<\/h2>\n<p><strong>\ud83d\udee0\ufe0f Automated code transformations:<\/strong> Copilot automatically makes the changes required to get your applications running on modern .NET.<\/p>\n<p><div style=\"width: 1920px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-253273-1\" width=\"1920\" height=\"1080\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/GHCPUA-Update-Progress-Focus-1.mp4?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/GHCPUA-Update-Progress-Focus-1.mp4\">https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/GHCPUA-Update-Progress-Focus-1.mp4<\/a><\/video><\/div><\/p>\n<p><strong>\u2699\ufe0f Customizable workflows:<\/strong> You can tailor which projects to upgrade, whether to address packages with security vulnerabilities in your upgrade, and more.<\/p>\n<p><strong>\ud83e\udde0 Learning from your manual changes:<\/strong> When manual intervention is required, GitHub Copilot can learn from your manual changes and apply those learnings if it encounters a similar situation later on in your upgrade.<\/p>\n<p><img decoding=\"async\" width=\"400\" height=\"619\" class=\"wp-image-253280\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-gif-showingcopilot-acknowledging-its-recording.gif\" alt=\"A GIF showingCopilot acknowledging it's recording user changes and learning from manual interventions\" \/><\/p>\n<p><strong>\ud83d\udd00 Git Integration:<\/strong> Git commits are automatically created on your behalf so that you can adopt and test changes incrementally.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-253281\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-commits-generated-by-the-tool.png\" alt=\"A screenshot of the commits generated by the tool \" width=\"727\" height=\"424\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-commits-generated-by-the-tool.png 1080w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-commits-generated-by-the-tool-300x175.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-commits-generated-by-the-tool-1024x597.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-commits-generated-by-the-tool-768x448.png 768w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/p>\n<p><strong>\u2705 Automatic test validation:<\/strong> It automatically runs your application\u2019s unit tests to ensure correct behavior post-upgrade.<\/p>\n<p><strong>\ud83e\udd16 Agent Mode functionality:<\/strong> Take advantage of Copilot Agent Mode with the latest preview version of Visual Studio installed.<\/p>\n<h2>Please Share Your Feedback<\/h2>\n<p>Start your upgrade journey today with GitHub Copilot app modernization \u2013 Upgrade for .NET! Your feedback is crucial to us as we aim to improve the product during this public preview. To share feedback with the team, please utilize the \u201cLeave Feedback\u201d button in the upper right corner of the Upgrade Manager UX in Visual Studio.<\/p>\n<p><img decoding=\"async\" width=\"973\" height=\"607\" class=\"wp-image-253282\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-upgrade-monitor-ux-showing-whe.png\" alt=\"A screenshot of the Upgrade Monitor UX showing where to find the Leave Feedback button\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-upgrade-monitor-ux-showing-whe.png 973w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-upgrade-monitor-ux-showing-whe-300x187.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/05\/a-screenshot-of-the-upgrade-monitor-ux-showing-whe-768x479.png 768w\" sizes=\"(max-width: 973px) 100vw, 973px\" \/><\/p>\n<p>We also welcome feedback via email to <a href=\"mailto:ghcpuacusteng@microsoft.com\">ghcpuacusteng@microsoft.com<\/a>, as well as direct responses to our <a href=\"https:\/\/www.surveymonkey.com\/r\/5G3BDTD?source=vsblog\">feedback survey<\/a>.<\/p>\n<h2>Check out the new Visual Studio Hub<\/h2>\n<p>Stay connected with everything Visual Studio in one place! Visit the <a href=\"https:\/\/visualstudio.microsoft.com\/hub\/\">Visual Studio Hub<\/a> for the latest release notes, YouTube videos, social updates, and community discussions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing GitHub Copilot app modernization \u2013 Upgrade for .NET You probably don\u2019t look forward to the process of modernizing your applications. It can be time consuming, risky, and full of manual toil. Today we\u2019re changing that. We\u2019re thrilled to introduce the public preview of GitHub Copilot app modernization &#8211; Upgrade for .NET, an AI-powered experience [&hellip;]<\/p>\n","protected":false},"author":51892,"featured_media":253282,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6887,6967,155],"tags":[237,6991,1055,6924,6995,6951],"class_list":["post-253273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","category-github-copilot","category-visual-studio","tag-net","tag-net-upgrade","tag-ai","tag-github-copilot","tag-modernization","tag-upgrade"],"acf":[],"blog_post_summary":"<p>Introducing GitHub Copilot app modernization \u2013 Upgrade for .NET You probably don\u2019t look forward to the process of modernizing your applications. It can be time consuming, risky, and full of manual toil. Today we\u2019re changing that. We\u2019re thrilled to introduce the public preview of GitHub Copilot app modernization &#8211; Upgrade for .NET, an AI-powered experience [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/253273","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\/51892"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=253273"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/253273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/253282"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=253273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=253273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=253273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}