{"id":241331,"date":"2023-02-21T11:00:53","date_gmt":"2023-02-21T19:00:53","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=241331"},"modified":"2023-02-22T17:19:33","modified_gmt":"2023-02-23T01:19:33","slug":"visual-studio-2022-17-5-released","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-5-released\/","title":{"rendered":"Visual Studio 2022 &#8211; 17.5 Released"},"content":{"rendered":"<p>We\u2019re excited to announce that Visual Studio 17.5 is now generally available. This release is full of updates that take friction out of your daily workflows making it easier for you stay in the zone while you code. Features like all-in-one search and intent-based suggestions help you move faster, while improved build and debug speeds ensure your IDE won\u2019t slow you down.<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\">Download Visual Studio 2022<\/a><\/div><\/p>\n<p>For .NET and cloud developers, we\u2019ve focused on improving the inner-loop dev experience. New .http\/.rest files make it easier to test and iterate on your APIs directly in Visual Studio, while improved Dev Tunnels help streamline the configuration and management of your webhooks. We\u2019ve also made it easier than ever to deploy your ASP.NET apps to containers.<\/p>\n<p>Game developers can now view properties from base classes modified in an Unreal Blueprint asset without leaving the IDE. Visual Studio has improved the cross-platform development experience with a new remote file explorer, Linux Console output to the Integrated Terminal window, dev container improvements, and more.<\/p>\n<p>Beyond individuals, Visual Studio also has new features to better support dev teams at scale, with exportable configuration files and a persistent update toggle helping ensure everyone on your team is working from the latest version of the tool.<\/p>\n<p>This blog covers several of the top new features in Visual Studio 17.5\u2014to see some in action, watch the <a href=\"https:\/\/www.youtube.com\/watch?v=ziforspEjzY\">Visual Studio 17.5 release video<\/a>. As always lot of these features come straight from <a href=\"https:\/\/developercommunity.visualstudio.com\/VisualStudio?q=%5BFixed+In%3A+Visual+Studio+2022+version+17.5%5D&amp;ftype=idea\">your feedback and suggestions<\/a>. Your feedback is critical to help us make Visual Studio the best tool it can be!<\/p>\n<h3>Productivity<\/h3>\n<ul>\n<li><a href=\"#AIOS\">All-in-one search<\/a><\/li>\n<li><a href=\"#suggestions\">Intent-based suggestions<\/a><\/li>\n<li><a href=\"#debugger\">Debugger text visualization<\/a><\/li>\n<li><a href=\"#perf\">Faster .NET builds and debugger features<\/a><\/li>\n<li><a href=\"#razor\">Improved Razor and C# Experience<\/a><\/li>\n<\/ul>\n<h3>.NET and Cloud development<\/h3>\n<ul>\n<li><a href=\"#api\">API development inner-loop<\/a><\/li>\n<li><a href=\"#devtunnels\">Improved Dev Tunnels configuration and management<\/a><\/li>\n<li><a href=\"#containers\">Containers and Azure<\/a><\/li>\n<li><a href=\"#accessibility\">Accessibility Checker<\/a><\/li>\n<\/ul>\n<h3>Modern C++ and game development<\/h3>\n<ul>\n<li><a href=\"#blueprint\">Unreal Engine Blueprint References and Asset Inspector<\/a><\/li>\n<li><a href=\"#macro\">Macro Expansion Improvements<\/a><\/li>\n<li><a href=\"#atomics\">C11 Atomics<\/a><\/li>\n<li><a href=\"#arm64\">Native Arm64 Clang toolset<\/a><\/li>\n<\/ul>\n<h3>C++ Cross-platform and embedded development<\/h3>\n<ul>\n<li><a href=\"#linux\">New Linux Capabilities<\/a><\/li>\n<li><a href=\"#cmake\">CMake improvements<\/a><\/li>\n<li><a href=\"#serial\">Concurrent serial port monitoring<\/a><\/li>\n<\/ul>\n<h3>Enterprise management<\/h3>\n<ul>\n<li><a href=\"#layout\">Layout configuration management<\/a><\/li>\n<li><a href=\"#winget\">Winget integration<\/a><\/li>\n<li><a href=\"#update\">Always update upon close<\/a><\/li>\n<li><a href=\"#sound\">Accessibility Feature \u2013 Adding Sounds in the Installer!<\/a><\/li>\n<\/ul>\n<p>Read on to learn more about these new features.<\/p>\n<h2><a id=\"ide\"><\/a>IDE Productivity &amp; Performance<\/h2>\n<p>Visual Studio\u2019s new All-in-One Search, Intent-Based Suggestions, and Debug Visualizers are designed to boost your code navigation and understanding. With the emphasis on productivity, this release not only offers new functionalities but also reduces build and debug times, making your workflow faster and more efficient.<\/p>\n<h2><a id=\"AIOS\"><\/a>All-In-One Search<\/h2>\n<p>All-in-one-search provides users with a quick and easy way to find Visual Studio files, types, and members in your code. We\u2019ve made significant improvements to the ordering and relevancy of results in our code search while removing the results limit without compromising on speed.<\/p>\n<p>Code search now has a Preview Panel that supports code results for both C# and C++! The preview will automatically show when you perform a search so you can see the context of the selected result. You can change the panel orientation or toggle it on\/off by selecting the panel icons at the top right of the window.<\/p>\n<p>Enable All-In-One Search by going to <em>Tools &gt; Manage Preview Features &gt; &#8220;New Visual Studio Search experience (restart required)&#8221;<\/em>.<\/p>\n<p><img decoding=\"async\" width=\"1185\" height=\"742\" class=\"wp-image-241502\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-1-4.gif\" alt=\"Symantic code search with preview window of results.\" \/><\/p>\n<h2><a id=\"suggestions\"><\/a>AI-Powered, Intent-Based Suggestions<\/h2>\n<p>Intent-Based Suggestions is a new feature that provides in-line suggestions in your editor based on your recent changes. The feature uses Machine Learning algorithms to understand the structure of repeated edits you\u2019re trying to make to your code and suggest the change right in your flow, helping you code faster and more accurately. Try it out and experience the power of intent-based suggestions in your development workflow today!\n<img decoding=\"async\" width=\"1024\" height=\"606\" class=\"wp-image-241503\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-2-2.png\" alt=\"Intent based suggestion with in line suggestions in editor.\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-2-2.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-2-2-300x178.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-2-2-768x455.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><a id=\"debugger\"><\/a>Debugger text visualizers<\/h2>\n<p>We&#8217;ve improved the text visualizer with additional tooling and string manipulation options. You can now do URL Encode and Decode and Base64 Encode and Decode JWT more easily, while full theming means the text visualizer window will fit the look and feel of the rest of your IDE.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-241504\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/TextVisualizer.gif\" alt=\"Inserting image...\" \/><\/p>\n<h2><a id=\"perf\"><\/a>Faster .NET builds and debugger features<\/h2>\n<p>We have drastically improved incremental build performance by only building projects that had modifications while skipping projects that were unchanged. With <em>Build Acceleration<\/em> you can reduce incremental build times for SDK-style .NET projects by up to 80%.<\/p>\n<p><img decoding=\"async\" width=\"1430\" height=\"795\" class=\"wp-image-241505\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-4-5.png\" alt=\"Chart showing incremental build perf improvemnt of 80 percent\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-4-5.png 1430w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-4-5-300x167.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-4-5-1024x569.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-4-5-768x427.png 768w\" sizes=\"(max-width: 1430px) 100vw, 1430px\" \/><\/p>\n<p>We\u2019ve also made significant performance improvements in the debugger by improving the response times of the threads window. This window is critical in debugging today\u2019s multi-threaded applications. In this release, the thread window automatically scales with the number of threads, helping contribute to 2X faster response times compared to Visual Studio 17.4. We\u2019ve also improved external source de-compilation speeds by up to 10X, making .NET module troubleshooting much more efficient.<\/p>\n<h2><a id=\"razor\"><\/a>Improved Razor and C# experience<\/h2>\n<p>To address the feedback about productivity and performance surrounding Razor and C#, we\u2019ve focused on improving the Razor and C# experience, with support for code actions in Razor files, including some helpful shortcuts like \u201cRemove Tag,\u201d \u201cEncode image in Base64,\u201d and \u201cInsert Image height\/width.\u201d<\/p>\n<p>A lot of the feedback we received around Razor and C# editing focused on the Roslyn experience. We\u2019ve prioritized improving performance in project configuration switching, speeding up code analysis recognition, and improving the typing experience to reduce UI delays.<\/p>\n<p><img decoding=\"async\" width=\"1605\" height=\"1044\" class=\"wp-image-241506\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/text-description-automatically-generated-3.gif\" alt=\"Razor file with code action for remove tag and encode base64\" \/><\/p>\n<h2><a id=\"dotnet\"><\/a>Modern .NET and Cloud development<\/h2>\n<h2><a id=\"api\"><\/a>API development inner-loop<\/h2>\n<p>Back-end APIs and microservices play a critical part in powering modern web apps, yet for many, API development remains a pain point. Efficient development with APIs requires agility and the ability to iterate quickly. We\u2019re on a mission to make it easier to work with APIs throughout the inner-loop lifecycle\u2014from coding and building to debugging and testing your apps.<\/p>\n<p>Our first step towards better, faster API development is the addition of .http\/.rest files in ASP.NET Core Projects, along with an integrated HTTP client. These files act as terse definitions for your API endpoints, enabling you to \u201crun\u201d your APIs and manipulate various REST calls to iterate within parameters and see the outputs in a structured way\u2014all from Visual Studio.<\/p>\n<p><img decoding=\"async\" width=\"1800\" height=\"1078\" class=\"wp-image-241507\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-application-table-exce-2.gif\" alt=\"new htt rest files in asp net core projects.\" \/><\/p>\n<p>These .http\/.rest files aren\u2019t meant to replace integration and unit testing. Instead, they provide a new way to rapidly iterate on API development, as well as a common place to monitor the APIs your app may be using and investigate required inputs\/outputs during development.<\/p>\n<p>This is just our first step towards improving the quality-of-life for developers working with microservices in Visual Studio\u2014stay tuned for future features in upcoming previews!<\/p>\n<h3><a id=\"devtunnels\"><\/a>Improved Dev Tunnels configuration and management<\/h3>\n<p>Of course, APIs are just one way modern apps interact with each other\u2014webhooks are also crucial for enabling information to automatically pass back and forth between different applications. Dev Tunnels play a crucial part in configuring webhooks during inner-loop processes, as they provide a way for public services to be pointed towards code that\u2019s hosted locally on your machine. We\u2019ve made it easier to set up <a href=\"https:\/\/learn.microsoft.com\/aspnet\/core\/test\/dev-tunnels?view=aspnetcore-7.0\">Visual Studio dev tunnels<\/a> by giving you more control over their configuration and creation.<\/p>\n<p><img decoding=\"async\" width=\"1125\" height=\"831\" class=\"wp-image-241508\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-email-2.png\" alt=\"Dev Tunnels configuration dialog\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-email-2.png 1125w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-email-2-300x222.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-email-2-1024x756.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-email-2-768x567.png 768w\" sizes=\"(max-width: 1125px) 100vw, 1125px\" \/><\/p>\n<p>This release makes it easier to manage and switch between your Dev Tunnels and specify which you want to use in any given debug session. Both features provide powerful inner-loop productivity gains for API developers in .NET, and we look forward to your feedback on them.<\/p>\n<h2><a id=\"containers\"><\/a>Containers and Azure<\/h2>\n<p>For .NET developers working on web apps and APIs, fast, simple container management is crucial to enabling productivity and efficiency. Visual Studio already has excellent support for deploying to services like <a href=\"https:\/\/learn.microsoft.com\/azure\/app-service\/quickstart-dotnetcore?tabs=net60&amp;pivots=development-environment-vs#publish-your-web-app\">Azure App Service<\/a> and <a href=\"https:\/\/learn.microsoft.com\/azure\/azure-functions\/functions-develop-vs?tabs=in-process#publish-to-azure\">Azure Functions<\/a>, but we want to extend that simplicity to container-based services like <a href=\"https:\/\/learn.microsoft.com\/azure\/container-apps\/\">Azure Container Apps<\/a>.<\/p>\n<p>This release takes a significant step forward by enabling you to deploy your ASP.NET Core app to Azure Container Apps in just a few steps. Instead of relying on additional files to define your container content and build steps, you can now directly target Azure Container Apps through the Publish window and either use a pre-provisioned resource or have VS help you create one:<\/p>\n<p><img decoding=\"async\" width=\"1206\" height=\"846\" class=\"wp-image-241509\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-application-description-2.gif\" alt=\"Publish dialog used to to asp net application to container.\" \/><\/p>\n<p>After creating your resource, you can leverage new .NET 7 SDK capabilities to build the container image directly using the SDK with no additional knowledge or files. This is a fast, easy way to get your code to cloud using existing, familiar tools and workflows.<\/p>\n<p>Of course, with our Azure Publish capabilities, you can also choose how to deploy by selecting on-demand or have VS create a starter GitHub Actions workflow if your app is in a GitHub repository.<\/p>\n<h2><a id=\"accessibility\"><\/a>Accessibility Checker<\/h2>\n<p>Visual Studio now has an integrated Accessibility Checker that detects many common accessibility issues for XAML based desktop applications. The Accessibility Checker uses the same axe-windows engine as <a href=\"https:\/\/accessibilityinsights.io\/\">Accessibility Insights<\/a>, which is the same accessibility testing tool the Visual Studio team uses for our own accessibility testing. The Accessibility Checker supports WPF, UWP, WinUI and MAUI (through WinUI). To access the Accessibility Checker, make sure XAML Hot Reload is enabled in the option page, then press the \u201cScan for Accessibility Issues\u201d button in the XAML Live Visual Tree toolbar.<\/p>\n<p>When the Accessibility Issues button is clicked, the axe-windows engine will scan the running application for accessibility issues and present them in the Accessibility Checker window. The window will list the Automation ID, Rule, Description, and a brief explanation of how to fix the issue for each item the axe-windows engine detects.<\/p>\n<p><img decoding=\"async\" width=\"1888\" height=\"605\" class=\"wp-image-241510\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/the-accessibility-checker-panel-in-visual-studio-s-2.png\" alt=\"The Accessibility Checker panel in Visual Studio showing a variety of accessibility issues that were detected during a scan of an application.\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/the-accessibility-checker-panel-in-visual-studio-s-2.png 1888w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/the-accessibility-checker-panel-in-visual-studio-s-2-300x96.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/the-accessibility-checker-panel-in-visual-studio-s-2-1024x328.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/the-accessibility-checker-panel-in-visual-studio-s-2-768x246.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/the-accessibility-checker-panel-in-visual-studio-s-2-1536x492.png 1536w\" sizes=\"(max-width: 1888px) 100vw, 1888px\" \/><\/p>\n<h2><a id=\"cpp\"><\/a>Modern C++ and Game Development<\/h2>\n<p>We\u2019ve included several new productivity enhancements for C++ developers, whether you\u2019re working on games, cross-platform, or embedded applications\u2014including a UE Asset Inspector in Visual Studio, Hot Reload support for CMake projects, IntelliSense improvements for macro expansions, and much more. For a more in-depth overview, checkout the <a href=\"https:\/\/aka.ms\/cpp\/17.5GA\">Visual Studio 2022 version 17.5 for C++ Developers<\/a> blog post.<\/p>\n<h2><a id=\"blueprint\"><\/a>Unreal Engine Blueprint References and Asset Inspector<\/h2>\n<p>For Unreal Engine game developers, you can now view Blueprint references and associated assets directly in Visual Studio. To see Blueprint references, click on the CodeLens hints now appearing on top of C++ functions, classes, and properties. From there, you can click on the Blueprint CodeLens hint and select a reference to open the Asset Inspector. Learn more by reading our <a href=\"https:\/\/aka.ms\/VSUEAnnouncement\">Unreal Engine Announcement Blogpost<\/a>.<\/p>\n<p><img decoding=\"async\" width=\"1428\" height=\"546\" class=\"wp-image-241511\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-ue-blueprint-references-in-visual-5.png\" alt=\"A screenshot of UE Blueprint references in Visual Studio. \" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-ue-blueprint-references-in-visual-5.png 1428w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-ue-blueprint-references-in-visual-5-300x115.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-ue-blueprint-references-in-visual-5-1024x392.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-ue-blueprint-references-in-visual-5-768x294.png 768w\" sizes=\"(max-width: 1428px) 100vw, 1428px\" \/><\/p>\n<h2><a id=\"macro\"><\/a>Macro Expansion Improvements<\/h2>\n<p>We\u2019ve also added several improvements to IntelliSense macro expansion designed to provide more effective, appealing and easier to read macro expansions inside Quick Info. Not only have we added recursive expansion in more contexts, but you can also now copy the expansion to the clipboard or expand the macro inline through options in the IntelliSense pop-up window. In addition, Macro expansion inside quick info will now have a formatted display and monospaced font.<\/p>\n<p><img decoding=\"async\" width=\"600\" height=\"197\" class=\"wp-image-241512\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/text-description-automatically-generated-4.gif\" alt=\"Text Description automatically generated\" \/><\/p>\n<h2><a id=\"atomics\"><\/a>C11 Atomics<\/h2>\n<p>Users will be pleased to learn we\u2019ve expanded our standard library features to include C11 atomics in MSVC. Initial support is only for lock-free atomics and can be found under the \/experimental:c11atomics flag, in \/std:c11 mode or later.<\/p>\n<h2><a id=\"arm64\"><\/a>Native Arm64 Clang toolset<\/h2>\n<p>While Visual Studio 17.4 introduced Arm64 support, we\u2019ve expanded Arm64 capabilities with native Arm64 Clang toolset in our LLVM workload, enabling native compilation on Arm64 machines.<\/p>\n<h2><a id=\"crossplat\"><\/a>C++ Cross-platform and embedded development<\/h2>\n<p>For cross-platform and embedded developers, we\u2019ve added several new features that help streamline your workflows beyond Windows.<\/p>\n<h2><a id=\"linux\"><\/a>Linux Improvements<\/h2>\n<p>We have moved the Linux Console into the Integrated Terminal to make it easier to interact with the remote Linux Machine. The integrated console window allows you to provide input as well as seeing console output.<\/p>\n<p>When you\u2019re using a Dev Container for application development, you can now run them on remote machines. We have also added the ability to open an interactive shell in the running container in the Integrated Terminal.<\/p>\n<p><img decoding=\"async\" width=\"1706\" height=\"1080\" class=\"wp-image-241513\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/word-image-241331-12-2.gif\" alt=\"Linux console output appearing in Visual Studio terminal window\" \/><\/p>\n<h2><a id=\"cmake\"><\/a>New CMake capabilities<\/h2>\n<p>With this version of Visual Studio, we\u2019ve also added several new CMake capabilities to speed up compiling workflows. You can now build and test multiple CMake targets at once from the CMake Targets View in Solution Explorer. We\u2019ve also enabled hot reload for CMake projects and added support for the latest CMakePresets.json files, making it easy to share settings across your development and CI environments while ensuring consistency.<\/p>\n<p><img decoding=\"async\" width=\"940\" height=\"360\" class=\"wp-image-241514\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-a-computer-description-automatica-2.png\" alt=\"A screenshot of a computer Description automatically generated with medium confidence\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-a-computer-description-automatica-2.png 940w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-a-computer-description-automatica-2-300x115.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/a-screenshot-of-a-computer-description-automatica-2-768x294.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<h2><a id=\"serial\"><\/a>Concurrent serial port monitoring<\/h2>\n<p>Embedded developers who have more than one serial device, or TCP connection with SWO traces, will be happy to find they can now open more than one serial port monitor at a time.<\/p>\n<h2><a id=\"enterprise\"><\/a>Enterprise management<\/h2>\n<p>Deploying any application across a large enterprise brings unique challenges. Visual Studio has improved the experience for creating and managing offline layouts for deploying Visual Studio. We\u2019ve also made it easier for developers to decide and control when updates are applied on their local machine.<\/p>\n<h2><a id=\"layout\"><\/a>Customizing a Layout using a .config file<\/h2>\n<p>It is now possible to use an exported configuration file to configure the contents of an offline layout. This capability was one of our <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Allow-the---layout-option-to-work-with-t\/424394?q=allow+the+--layout+option+to+work+with+the+--config+option\">top-voted Developer Community suggestions<\/a>, and it requires the latest Visual Studio installer that ships with Visual Studio 17.5. To use this capability, first <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/install\/import-export-installation-configurations\">export a Visual Studio configuration file<\/a> that you want to replicate in your layout, and run the following command:<\/p>\n<pre>vs_enterprise.exe --layout c:\\layout --config c:\\my.vsconfig --useLatestInstaller<\/pre>\n<p>This functionality extends all the way back to Visual Studio 2017 assuming you pass in the required <code>--useLatestInstaller<\/code> parameter. It\u2019s also possible to <em>add<\/em> components to an existing layout. If you\u2019ve already created a layout containing one workload, you can add configuration for additional components and workloads to that layout by using the exact same syntax above.<\/p>\n<h2><a id=\"winget\"><\/a>Winget integration<\/h2>\n<p>Visual Studio 2022 and 2019 are now supported and available on Winget, the\u00a0<a href=\"https:\/\/docs.microsoft.com\/windows\/package-manager\/winget\/\" target=\"_blank\" rel=\"noopener\">Windows Package Manager tool<\/a>. Going forward, all Visual Studio updates will now automatically be available on Winget as part of our release process.<\/p>\n<p>By default, winget only installs the core Visual studio workload.\u00a0 However, you can take advantage of winget&#8217;s <code>--override<\/code> switch along our new<code> --config<\/code> switch and <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/install\/use-command-line-parameters-to-install-visual-studio#use-winget-to-install-visual-studio\">use winget to do a customized installation<\/a>.\u00a0 For example:<\/p>\n<pre>winget install --id Microsoft.VisualStudio.2022.Community --override \"--passive --config c:\\my.vsconfig\"<\/pre>\n<p>Please note that during the winget repo ownership transition, we&#8217;ve updated the existing directory structure to better reflect how we ship and maintain Visual Studio.\u00a0 This does mean that if you have existing scripts or commands that depend on the prior Winget directory structure or package identification, you may need to make a one-time fix to align with our changes.<\/p>\n<p>&nbsp;<\/p>\n<h2><a id=\"update\"><\/a>Always Update on Close<\/h2>\n<p>It\u2019s now possible to configure Visual Studio to automatically apply updates when it closes. This setting is configurable on a per instance basis of Visual Studio. You can, for example, set your Previews to check for updates when you close the Preview, but your regular production Visual Studio instance can continue to be updated on demand. You can find this option in the Tools &gt; Options &gt; Product Updates dialog. Read more about how to get the most out of <a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/install\/update-visual-studio?view=vs-2022\">updates for Visual Studio on Microsoft Learn<\/a>.<\/p>\n<p><img decoding=\"async\" width=\"1164\" height=\"797\" class=\"wp-image-241515\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-descr-3.jpeg\" alt=\"Options dialog showing setting to enable Always update on close option\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-descr-3.jpeg 1164w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-descr-3-300x205.jpeg 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-descr-3-1024x701.jpeg 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/02\/graphical-user-interface-text-application-descr-3-768x526.jpeg 768w\" sizes=\"(max-width: 1164px) 100vw, 1164px\" \/><\/p>\n<h2><a id=\"sound\"><\/a>Accessibility Feature \u2013 Adding Sounds in the Installer!<\/h2>\n<p>We are continuously improving the Visual Studio customization experience to help you be more productive. Many of you are probably using the recently added <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/audio-cues-in-visual-studio-2022-17-3-preview-2\/\">audio cues in the Visual Studio editor<\/a> and now we have added audio cues to the Installer! The audio cue alerts the user that the operation was finished on the installer or that there was an error by playing a sound. This includes install, update, modify, and many other operations done by installer or any error dialogs while trying requested operation. This feature is on by default, but you can turn it off by following the instruction outlined here: <a href=\"https:\/\/aka.ms\/DisableSoundsintheInstaller\">Disable sounds in the installer &#8211; Visual Studio Feedback<\/a>.<\/p>\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 share your <a href=\"https:\/\/developercommunity.visualstudio.com\/report?space=8&amp;entry=suggestion\">suggestions for new features<\/a> 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\u2019re excited to announce that Visual Studio 17.5 is now generally available. This release is full of updates that take friction out of your daily workflows making it easier for you stay in the zone while you code. Features like all-in-one search and intent-based suggestions help you move faster, while improved build and debug speeds [&hellip;]<\/p>\n","protected":false},"author":1180,"featured_media":239569,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6854,1085,1195,472,6868,6869,1412,155,1029],"tags":[237,361,229,354,85,242,5,510,6791,9,6879,467,6886,53,526,1404,12,6815],"class_list":["post-241331","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-cloud","category-cross-platform","category-gaming","category-performance","category-reliability","category-development","category-visual-studio","category-web","tag-net","tag-net-core","tag-accessibility","tag-announcement","tag-asp-net","tag-azure","tag-csharp","tag-cpp","tag-cross-platform","tag-debug","tag-editor","tag-intellicode","tag-linux","tag-performance","tag-productivity","tag-search","tag-visual-studio","tag-visual-studio-2022"],"acf":[],"blog_post_summary":"<p>We\u2019re excited to announce that Visual Studio 17.5 is now generally available. This release is full of updates that take friction out of your daily workflows making it easier for you stay in the zone while you code. Features like all-in-one search and intent-based suggestions help you move faster, while improved build and debug speeds [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/241331","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\/1180"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=241331"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/241331\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/239569"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=241331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=241331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=241331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}