{"id":251184,"date":"2024-11-12T10:12:48","date_gmt":"2024-11-12T18:12:48","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=251184"},"modified":"2024-12-02T15:03:22","modified_gmt":"2024-12-02T23:03:22","slug":"visual-studio-2022-v17-12-with-dotnet-9","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-v17-12-with-dotnet-9\/","title":{"rendered":"Visual Studio 2022 v17.12 with .NET 9"},"content":{"rendered":"<p>We are thrilled to announce the General Availability (GA) of Visual Studio 2022 version 17.12. This update focuses on providing fantastic developer experiences for working with <strong>.NET 9<\/strong> projects and new <strong>AI productivity features<\/strong>, along with continuous improvements for all developers.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-251289\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/10\/word-image-251184-1.png\" alt=\"Abstract Visual Studio image\" width=\"1200\" height=\"498\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/10\/word-image-251184-1.png 1200w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/10\/word-image-251184-1-300x125.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/10\/word-image-251184-1-1024x425.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/10\/word-image-251184-1-768x319.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Thanks to your continuous feature requests, we&#8217;ve incorporated many of them in this release. There&#8217;s something new for every developer. We have added several new tools and enhancements that simplify your workflow and improve productivity. Whether you&#8217;re looking for advanced debugging capabilities, more efficient code management, or enhanced security features, this update has it all.<\/p>\n<p><a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\"><strong><div  class=\"d-flex justify-content-left\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\">Download Visual Studio 2022 v17.12<\/a><\/div><\/strong><\/a><\/p>\n<p>For detailed information on each new feature, check out the <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/releases\/2022\/release-notes\">release notes<\/a>. If you&#8217;re pressed for time, here are the key highlights.<\/p>\n<h2><strong>Productivity<\/strong><\/h2>\n<ul>\n<li><strong>Copy from the Error List<\/strong>: Copying an error from the Error List now copies just the description instead of the entire row to the clipboard.<\/li>\n<li><strong>Go to line anywhere in Code Search<\/strong>: In Code Search, you can now navigate to a specific line in the current document or other specified document.<\/li>\n<li><strong>Dock the Code Search window<\/strong>: You can now freely position the Code Search window with capabilities like docking and auto-hiding.<\/li>\n<li><strong>Customize collapsed text indicator<\/strong>: Set custom colors for the collapsed text indicator in the Visual Studio editor.<\/li>\n<li><strong>Refresh your Find results<\/strong>: You can now refresh the results to a previous Find to get up-to-date search matches.<\/li>\n<li><strong>More space for horizontal scrollbar<\/strong>: You can now control the visibility of the file level indicators in CodeLens.<\/li>\n<li><strong>Non-blocking Code Cleanup on save<\/strong>: When Code Cleanup is run on Save, it now operates in a non-blocking manner, for a smoother coding experience.<\/li>\n<\/ul>\n<h2><strong>GitHub Copilot<\/strong><\/h2>\n<ul>\n<li><strong>AI smart variable inspection<\/strong>: Optimize your debugging workflow with Integrated AI variable inspection.<\/li>\n<li><strong>AI-powered IEnumerable visualizer<\/strong>: AI-powered LINQ Editable Expressions in the IEnumerable visualizer.<\/li>\n<li><strong>Fix code with GitHub Copilot<\/strong>: GitHub Copilot assists you in resolving code issues.<\/li>\n<li><strong>Better AI completions for C#<\/strong>: GitHub Copilot brings in additional context from relevant source files to improve completions for C#.<\/li>\n<li><strong>Debug tests with GitHub Copilot<\/strong>: Get help with debugging failed tests by using Debug Tests with GitHub Copilot.<\/li>\n<\/ul>\n<h2><strong>Debugging &amp; diagnostics<\/strong><\/h2>\n<ul>\n<li><strong>Shows method return values when debugging<\/strong>: The debugger now displays inline return values for enhanced debugging efficiency.<\/li>\n<li><strong>Export breakpoint groups with ease<\/strong>: Effortless import and export of breakpoint groups.<\/li>\n<li><strong>Blazor WebAssembly debugging<\/strong>: An improved debugging experience for Blazor WebAssembly apps targeting .NET 9 or later.<\/li>\n<li><strong>Meter Histogram in Profiler Counter Tool<\/strong>: Enhanced performance insights using Meter Histogram in Profiler Counter Tool.<\/li>\n<li><strong>Analyze memory use over time<\/strong>: Select and compare multiple memory snapshots using the Diagnostics Tool window.<\/li>\n<\/ul>\n<h2><strong>Git tooling<\/strong><\/h2>\n<ul>\n<li><strong>Manage file renaming with Git<\/strong>: Get peace of mind when renaming files with a new notification.<\/li>\n<li><strong>Pull requests using drafts and templates<\/strong>: Create pull request drafts and start your descriptions with templates in Visual Studio.<\/li>\n<li><strong>Create internal GitHub repos<\/strong>: Visual Studio now supports creating internal repos and includes guidance for each type of repository to give you more confidence when starting a new project.<\/li>\n<li><strong>Copy Git link<\/strong>: You can get a GitHub or Azure DevOps link to a specific line of code to make it easy to share with your colleagues.<\/li>\n<li><strong>Customize your AI Git commit message<\/strong>: You can add additional instructions to the prompt for generating your Git commit message with GitHub Copilot.<\/li>\n<li><strong>Multi-repo for GitHub and Azure DevOps<\/strong>: You can now create pull requests and link work items in multi-repo scenarios.<\/li>\n<\/ul>\n<h2><strong>IDE<\/strong><\/h2>\n<ul>\n<li><strong>Preserve font across theme changes<\/strong>: Changing themes will now remember your font and font size preferences.<\/li>\n<li><strong>Multi-Project Launch Configuration<\/strong>: Streamline debugging by setting up and saving launch profiles for specific projects within multi-project solutions. Share configurations effortlessly with your team.<\/li>\n<li><strong>Copy files between instances<\/strong>: You can now copy files and folders from Solution Explorer in one instance of Visual Studio to another.<\/li>\n<li><strong>Multiple GitHub accounts<\/strong>: You can now add multiple GitHub accounts and set an active account to drive GitHub features like GitHub Copilot and Version Control.<\/li>\n<li><strong>Certificate Revocation Checks<\/strong>: Visual Studio now alerts you if it detects digital certificate problems during network calls.<\/li>\n<li><strong>MotW security warnings<\/strong>: Mark of the web (MotW) security warnings are now integrated into the overall trust functionality.<\/li>\n<li><strong>Teams Toolkit new AI templates<\/strong>: The Teams Toolkit onboards new AI Teams app templates.<\/li>\n<\/ul>\n<h2><strong>Cloud<\/strong><\/h2>\n<ul>\n<li><strong>Azure App Service publish security updates<\/strong>: Publishing to Azure App Service securely using integrated security updates.<\/li>\n<li><strong>Azure WebJobs Linux support<\/strong>: Publishing to Azure WebJobs on Linux is now supported by right-click publish in Visual Studio.<\/li>\n<li><strong>Azure Functions Flex Consumption<\/strong>: Publish to Azure Flex Consumption hosting plan, currently in Preview.<\/li>\n<li><strong>Connected Services security update<\/strong>: Making your apps and development experienced more secure.<\/li>\n<\/ul>\n<h2><strong>Desktop<\/strong><\/h2>\n<ul>\n<li><strong>Enhanced WinUI components search<\/strong>: Enhance WinUI project setup with improved Visual Studio Installer search, simplifying component location for developers.<\/li>\n<\/ul>\n<h2><strong>Web<\/strong><\/h2>\n<ul>\n<li><strong>Request variables in HTTP files<\/strong>: HTTP files now support request variables. That is where you can send a request and then use data from the response, or request, in future requests.<\/li>\n<li><strong>HTTP files shared environment<\/strong>: In HTTP environment files we have added support to share variables across environments.<\/li>\n<li><strong>Vitest support in JavaScript and TypeScript<\/strong>: When using JavaScript and TypeScript projects you can now author test cases with Vitest.<\/li>\n<li><strong>Inlay Hints support for more languages<\/strong>: Inlay Hint support has been added to JavaScript, TypeScript, Python and Razor as well as a setting to control its behavior.<\/li>\n<\/ul>\n<h2><strong>Data<\/strong><\/h2>\n<ul>\n<li><strong>SDK-style SQL projects in SSDT<\/strong>: You can now use the SDK-style project file format in your SQL Server Data Tools projects.<\/li>\n<\/ul>\n<h2><strong>.NET<\/strong><\/h2>\n<ul>\n<li><strong>Achieve more with .NET 9<\/strong>: .NET 9 elevates cloud-native and intelligent app development, focusing on productivity enhancements, streamlined deployments, and accelerated AI integration.<\/li>\n<\/ul>\n<h2><strong>C++<\/strong><\/h2>\n<ul>\n<li><strong>Set C++ Command Line Arguments<\/strong>: A new way to set your command line arguments right from the toolbar.<\/li>\n<li><strong>Build Insights view explanations<\/strong>: Learn how to use each tab of Build Insights via a newly added link to documentation.<\/li>\n<li><strong>Build Insights path adjustments<\/strong>: Get a clearer view of your file in Build Insights, see full path on hover.<\/li>\n<li><strong>Open Folder for Unreal Engine uproject<\/strong>: A new way of opening your uproject.<\/li>\n<li><strong>Change signature improved<\/strong>: You can now effectively change signatures with our improved feature for C++.<\/li>\n<\/ul>\n<h2>SHARE YOUR FEEDBACK AND STAY CONNECTED<\/h2>\n<p>As you use Visual Studio, let us know what you love, what you like, and where you\u2019d like us to improve. You can share feedback with us via <a href=\"https:\/\/developercommunity.visualstudio.com\/home\">Developer Community<\/a>: report any bugs or issues via <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio\">report a problem<\/a> and <a href=\"https:\/\/developercommunity.visualstudio.com\/report?space=8&amp;entry=suggestion\">share your suggestions<\/a> for new features or improvements to existing ones.<\/p>\n<p>Stay connected with the Visual Studio team by following us on <a href=\"https:\/\/www.youtube.com\/@visualstudio\">YouTube<\/a>, <a href=\"https:\/\/twitter.com\/VisualStudio\">Twitter<\/a>, <a href=\"https:\/\/www.linkedin.com\/showcase\/microsoft-visual-studio\/\">LinkedIn<\/a>, <a href=\"https:\/\/www.twitch.tv\/visualstudio\">Twitch<\/a> and on <a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/?view=vs-2022\">Microsoft Learn<\/a>.<\/p>\n<p>As always, we appreciate the time you\u2019ve spent reporting issues and hope you continue to give us feedback on how we\u2019re doing and what we can improve.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are thrilled to announce the General Availability (GA) of Visual Studio 2022 version 17.12. This update focuses on providing fantastic developer experiences for working with .NET 9 projects and new AI productivity features, along with continuous improvements for all developers. Thanks to your continuous feature requests, we&#8217;ve incorporated many of them in this release. [&hellip;]<\/p>\n","protected":false},"author":642,"featured_media":251289,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[6921],"class_list":["post-251184","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-release"],"acf":[],"blog_post_summary":"<p>We are thrilled to announce the General Availability (GA) of Visual Studio 2022 version 17.12. This update focuses on providing fantastic developer experiences for working with .NET 9 projects and new AI productivity features, along with continuous improvements for all developers. Thanks to your continuous feature requests, we&#8217;ve incorporated many of them in this release. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/251184","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\/642"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=251184"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/251184\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/251289"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=251184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=251184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=251184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}