{"id":2036,"date":"2025-05-19T17:21:28","date_gmt":"2025-05-19T17:21:28","guid":{"rendered":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2025\/05\/19\/accelerate-your-net-upgrades-with-github-copilot\/"},"modified":"2025-05-19T17:21:28","modified_gmt":"2025-05-19T17:21:28","slug":"accelerate-your-net-upgrades-with-github-copilot","status":"publish","type":"post","link":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2025\/05\/19\/accelerate-your-net-upgrades-with-github-copilot\/","title":{"rendered":"Accelerate Your .NET Upgrades with GitHub Copilot"},"content":{"rendered":"<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 are thrilled to announce the public preview of <strong>GitHub Copilot app modernization \u2013 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\n<div class=\"d-flex justify-content-left\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/aka.ms\/ghcp-appmod\/dotnet-upgrade-vsix\" target=\"_blank\">Get Started Today!<\/a><\/div>\n<h2>How it Works<\/h2>\n<p>Upgrading a .NET app isn\u2019t just about tweaking code \u2013 it\u2019s about managing complexity. <strong>GitHub Copilot app modernization \u2013 Upgrade for .NET<\/strong> is built to do exactly that, combining automation with intelligence so you can modernize faster <em>without losing control.<\/em><\/p>\n<p>Here\u2019s what happens:<\/p>\n<h3>1. Define Your Goal<\/h3>\n<p>Start by telling the GitHub Copilot what you want to do \u2013 like upgrading your entire solution to .NET 8. No need to go project-by-project.<\/p>\n<h3>2. Get a Smart Upgrade Plan<\/h3>\n<p>The tool analyzes your solution and generates a dependency-aware plan that upgrades projects in the right order. If Project A depends on Project B, it understands that and adjusts the sequence automatically.<\/p>\n\n<h3>3. Automate the Upgrade<\/h3>\n<p>The tool executes the upgrade based on the upgrade plan, rewriting code and applying changes on your behalf.<\/p>\n\n<div class=\"wp-video\"><!--[if lt IE 9]&gt;document.createElement('video');&lt;![endif]--><br \/>\n<a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2025\/05\/upgrade-in-action.mp4\">https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2025\/05\/upgrade-in-action.mp4<\/a><\/div>\n<h3>4. AI-Powered Guidance \u2013 with <em>You<\/em> in the Loop<\/h3>\n<p>When the AI hits a tricky part of your code, it doesn\u2019t guess or fail silently. It prompts you to step in, makes it easy to resolve the issue, then picks up right where it left off.<\/p>\n\n<p>Better yet, Copilot learns from your fixes. If it sees the same issue later in the upgrade, it applies the same solution automatically. Every manual fix makes your upgrade smarter and smoother.<\/p>\n\n<h3>5. Finalize and Run Tests<\/h3>\n<p>Once everything\u2019s upgraded, the tool wraps up by suggesting any final or follow-up steps to get your app truly production-ready. If your projects have unit tests, they will be run at this point. The tool has been creating git commits on your behalf along the way, so be sure to review them before merging!<\/p>\n\n<p>Bottom line: You get a guided, AI-powered experience that automates the boring parts, helps you navigate the tricky ones, and delivers a modern .NET app that\u2019s ready to run.<\/p>\n<h2>What\u2019s Included?<\/h2>\n<p><strong> Automated code transformations:<\/strong> Copilot automatically makes the changes required to get your applications running on modern .NET.<br \/>\n<strong> Customizable workflows:<\/strong> You can tailor which projects to upgrade, whether to address packages with security vulnerabilities in your upgrade, and more.<br \/>\n<strong> Learning from your manual changes:<\/strong> When manual intervention is required, the tool can learn from your manual changes and apply those learnings if it encounters a similar situation later on in your upgrade.<br \/>\n<strong> Git Integration:<\/strong> Git commits are automatically created on your behalf so that you can adopt and test changes incrementally.<br \/>\n<strong> Automatic test validation:<\/strong> The tool automatically runs your application\u2019s unit tests to ensure correct behavior post-upgrade.<br \/>\n<strong> Agent Mode functionality:<\/strong> Take advantage of Copilot Agent Mode with the latest preview version of Visual Studio installed.<\/p>\n<h2>How to Install the Tool<\/h2>\n<p>Getting started with GitHub Copilot app modernization \u2013 Upgrade for .NET is easy.<\/p>\n<h3>Step 1: Install the Extension<\/h3>\n<p>Head to the <a href=\"https:\/\/aka.ms\/ghcp-appmod\/dotnet-upgrade-vsix\">Visual Studio Marketplace<\/a> and download the GitHub Copilot app modernization \u2013 Upgrade for .NET extension. Once installed, you\u2019re ready to use the tool.<\/p>\n<h3>Step 2 (Highly Recommended): Use Copilot Agent Mode<\/h3>\n<p>To unlock the full power of AI-assisted upgrades, install the latest version of <a href=\"https:\/\/visualstudio.microsoft.com\/thank-you-downloading-visual-studio\/?sku=Enterprise&amp;channel=Release&amp;version=VS2022&amp;source=VSLandingPage&amp;cid=2030&amp;passive=false\">Visual Studio 17.14<\/a> and sign-in to a GitHub account with an active Copilot subscription.<\/p>\n<p><strong>i. Ensure you have agent mode enabled:<\/strong> In Visual Studio, go to Tools &gt; Options &gt; GitHub &gt; Copilot &gt; Copilot Chat and select \u201cEnable agent mode in the chat pane.\u201d<\/p>\n<p><strong>ii. Turn on Agent Mode:<\/strong> To get started, open the GitHub Copilot Chat window, click the \u201cAsk\u201d button, then click \u201cAgent\u201d. This turns on Copilot Agent Mode, which gives you a smarter, more natural way to run the tool.<\/p>\n<p><strong>iii. Select the Upgrade Tool:<\/strong> Once in Copilot Agent Mode, be sure to select the \u201cUpgrade\u201d tool from the Copilot Chat Tool Selector. Otherwise, Agent Mode won\u2019t be able to call our upgrade tool.<\/p>\n\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>Or, just tell Copilot what you want to do in the chat:<\/p>\n<p> \u201cUpgrade my solution to .NET 8\u201d<\/p>\n\n<p>That\u2019s it. The tool gets to work analyzing your code, preparing the upgrade, and helping Copilot guide you through code changes.<\/p>\n<h2>Share Feedback<\/h2>\n<p>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 feature in the upper right corner of the tool\u2019s Upgrade Manager UX in Visual Studio.<\/p>\n\n<p>We also welcome feedback via email to <span><strong>ghcpuacusteng@microsoft.com<\/strong><\/span>, as well as direct responses to our <a href=\"https:\/\/www.surveymonkey.com\/r\/5G3BDTD?source=dotnetblog\">feedback survey<\/a>.<\/p>\n<p>The post <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/github-copilot-upgrade-dotnet\/\">Accelerate Your .NET Upgrades with GitHub Copilot<\/a> appeared first on <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\">.NET Blog<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>You probably don\u2019t look forward to the process of modernizing your applications. It can be time consuming, risky, and full [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7],"tags":[],"class_list":["post-2036","post","type-post","status-publish","format-standard","hentry","category-dotnet"],"_links":{"self":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/2036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/comments?post=2036"}],"version-history":[{"count":0,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/2036\/revisions"}],"wp:attachment":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media?parent=2036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/categories?post=2036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/tags?post=2036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}