{"id":605,"date":"2022-02-16T08:50:33","date_gmt":"2022-02-16T08:50:33","guid":{"rendered":"https:\/\/tbekk.com\/devstream\/?p=605"},"modified":"2022-02-16T08:54:29","modified_gmt":"2022-02-16T08:54:29","slug":"visual-studio-2022-17-1-is-now-available","status":"publish","type":"post","link":"https:\/\/tbekk.com\/devstream\/2022\/02\/16\/visual-studio-2022-17-1-is-now-available\/","title":{"rendered":"Visual Studio 2022 17.1 is now available!"},"content":{"rendered":"\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<ul class=\"wp-block-list\"><li><em><strong>Link: <\/strong><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-1-is-now-available\/\">https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-1-is-now-available\/<\/a><\/em><\/li><li><em><strong>Publication date:<\/strong> Tueasday, February 15th, 2022 <\/em><\/li><li><em><strong>Author:<\/strong> <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-1-is-now-available\/\">Dominic Nahous<\/a>, Senior Lead Program Manager, Visual Studio<\/em><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p>Today, Visual Studio 2022 17.1 graduates from preview and reaches general availability. Feedback from developers like you have helped us shape and refine Visual Studio 17.1 through its preview cycle and we\u2019d like to thank you for your part in Visual Studio\u2019s journey.<\/p>\n\n\n\n<p>In my last&nbsp;<a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-17-1-preview-2-is-now-available\/\">blog post for Visual Studio 2022 17.1 Preview 2<\/a>, I shared details around exciting additions to Visual Studio that included enhancements in Git, Search and Navigation, productivity improvements in C# and C++, and added capabilities for personalizing colored tabs. Throughout the rest of the 17.1 Previews, we continued to address feedback you submitted via Developer Community. To see the full list of community feedback we\u2019ve addressed, visit the&nbsp;<a href=\"https:\/\/developercommunity.visualstudio.com\/fixes\" target=\"_blank\" rel=\"noreferrer noopener\">fixes page<\/a>&nbsp;on Developer Community.<\/p>\n\n\n\n<p>In addition to fixes for customer-reported issues, we\u2019ve also added made some changes to make you more productive in Visual Studio. You\u2019ll also find improvements to solution close performance as a result of optimization of cleanup operations when closing a solution, which builds on the performance work we\u2019ve been doing throughout the preview cycle. Continue reading to find out more, and as always, visit the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/releases\/2022\/release-notes\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio 17.1 GA release notes<\/a>&nbsp;for more information on everything in this release.<a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Visual Studio 2022<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"search-code-faster-with-indexed-find-in-files\">Search code faster with indexed Find in Files<\/h2>\n\n\n\n<p>With Visual Studio 2022 17.1, we\u2019ve turned on indexed Find in Files by default to help ensure every developer experience a faster and more productive searching experience.<\/p>\n\n\n\n<p>While indexed Find in Files is enabled by default for all users, you can opt to disable it by navigating to&nbsp;<em>Tools &gt; Options &gt; Environment &gt; Preview Features&nbsp;<\/em>and unchecking \u201cEnable indexing for faster find experience\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"keep-your-code-files-in-sync-automatically\">Keep your code files in sync automatically<\/h2>\n\n\n\n<p>You\u2019ll also find a new feature for automatically saving files when Visual Studio loses focus on the&nbsp;<em>Tools &gt; Options &gt; Environment &gt; Document<\/em>&nbsp;page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/graphical-user-interface-application-word-descr.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/graphical-user-interface-application-word-descr.png\" alt=\"Screenshot of the Environment &gt; Documents Options page showing the &quot;Automatically save files when Visual Studio is in the background&quot; feature\" class=\"wp-image-236626\"\/><\/a><\/figure>\n\n\n\n<p>By selecting \u201cAutomatically save files when Visual Studio is in the background\u201d on this page, any time Visual Studio loses focus, it will try to save every dirty document in the IDE including project, solution, and even other miscellaneous files.<\/p>\n\n\n\n<p>We hope this feature proves useful and keeps it easier for those of you who use other applications in conjunction with your Visual Studio development to develop in multiple tools. We\u2019ll be sharing more information on this feature in another blog post soon.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"do-more-with-git\">Do more with Git<\/h2>\n\n\n\n<p>As we mentioned in the Preview 2 blog post, Visual Studio 2022 17.1 comes with some highly anticipated Git features to help boost your productivity. You can now compare your current branch with other branches in your repository, affording you an easier way to keep track of your branches with preparing for pull requests or branch deletion.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/a-screenshot-of-a-computer-description-automatica.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/a-screenshot-of-a-computer-description-automatica.png\" alt=\"A screenshot of Visual Studio's Git compare screen\" class=\"wp-image-236627\"\/><\/a><\/figure>\n\n\n\n<p>You\u2019ll also find enhanced detached head support with the ability to checkout a commit and checkout the tip of any remote branch. You can now checkout any commit and go back to a previous point in your repository\u2019s history to run or test your code. You can also quickly review pull requests and evaluate your team\u2019s updates by checking out the tip of any remote branch.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/a-screenshot-of-a-computer-description-automatica-1.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/a-screenshot-of-a-computer-description-automatica-1.png\" alt=\"Screenshot of Visual Studio's Git history view demonstrating the ability to checkout any commit\" class=\"wp-image-236628\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/graphical-user-interface-text-description-automa.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/graphical-user-interface-text-description-automa.png\" alt=\"Screenshot of Visual Studio's Git history view demonstrating the ability to checkout the tip of a remote branch\" class=\"wp-image-236629\"\/><\/a><\/figure>\n\n\n\n<p>For more information on the Git improvements in 17.1, take a look at&nbsp;<a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/introducing-new-git-features-to-visual-studio-2022\/\">Taysser\u2019s blog post<\/a>&nbsp;on the Visual Studio blog.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"c-enhancements-for-embedded-and-rtos-make-it-easier-to-be-productive\">C++ enhancements for Embedded and RTOS make it easier to be productive<\/h2>\n\n\n\n<p>We\u2019d also like to quickly remind you about the new visualizations for embedded registers and RTOS threads that we first described in the Preview 2 blog post.<\/p>\n\n\n\n<p>You can access the registers view through<em>&nbsp;Debug &gt; Windows &gt; Embedded Registers<\/em>, which gives you a view of all the available registers, their mapped memory locations, and values.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image.png\" alt=\"Visual Studio's Embedded Registers window\" class=\"wp-image-236630\"\/><\/a><\/figure>\n\n\n\n<p>Opening the RTOS Objects window through&nbsp;<em>Debug &gt; Windows &gt; RTOS Objects<\/em>&nbsp;gives you a view of threads running in the system along with their context.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image-1.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image-1.png\" alt=\"Visual Studio's RTOS objects window\" class=\"wp-image-236631\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"be-more-productive-with-solution-filters\">Be more productive with Solution Filters<\/h2>\n\n\n\n<p>Solution Filters allow you to choose what projects to load so you can avoid loading massive solutions every time. You have the choice to load individual projects or a project with its entire dependency tree. Our users noticed the dependency tree (and solution filter) can become outdated when new projects are added, or the dependency graph changes.<\/p>\n\n\n\n<p>Visual Studio 2022 version 17.1 added an easier way to load the entire dependency tree for all the projects in the solution filter. This will pull in any new dependencies that were added to ensure you have all the projects you need. You can check for any new dependencies by clicking&nbsp;<em>Update Project Dependencies&nbsp;<\/em>in the context menu of the solution node in the Solution Explorer. Try this out and let us know what you think!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image-3.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image-3.png\" alt=\"Screenshot of Visual Studio with the new Update Project Dependencies option highlighted\" class=\"wp-image-236640\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"support-for-enterprise-customers\">Support for Enterprise Customers<\/h2>\n\n\n\n<p>Now that Visual Studio 2022 version 17.1 has been released, our Professional and Enterprise customers have the option to manage the timeframe as to when they adopt the new feature set of 17.1. To stay on the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/productinfo\/vs-servicing#long-term-servicing-channel-ltsc-support\" target=\"_blank\" rel=\"noreferrer noopener\">17.0 LTSC (long term servicing channel)<\/a>&nbsp;and receive security and quality fixes \u2013 but not feature updates \u2013 for 18 months, follow the instructions on using the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/install\/update-visual-studio?view=vs-2022#configure-source-location-of-updates-1\" target=\"_blank\" rel=\"noreferrer noopener\">Update Settings dialog<\/a>. Note that this feature is not available for the Community Edition.<\/p>\n\n\n\n<p>By default, all installations of Visual Studio are configured to use the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/productinfo\/release-rhythm#current-channel\" target=\"_blank\" rel=\"noreferrer noopener\">Current channel<\/a>, which will receive the 17.1 feature set immediately. Alternatively, users and IT administrators can configure installations to defer the feature update in a secure manner until you\u2019re ready to move forward.&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/productinfo\/vs-servicing#long-term-servicing-channel-ltsc-support\" target=\"_blank\" rel=\"noreferrer noopener\">17.0 LTSC<\/a>&nbsp;will not receive additional feature updates but will receive security and quality fixes until July 2023. For a better understanding of how Visual Studio is serviced and supported, refer to the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/productinfo\/vs-servicing\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio lifecycle policy<\/a>. To configure the update channel, use the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/install\/update-visual-studio?view=vs-2022#configure-source-location-of-updates-1\" target=\"_blank\" rel=\"noreferrer noopener\">Update Settings dialog<\/a>&nbsp;or do it&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/install\/use-command-line-parameters-to-install-visual-studio?view=vs-2022\" target=\"_blank\" rel=\"noreferrer noopener\">programmatically via script or command line<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"whats-next\">What\u2019s next?<\/h2>\n\n\n\n<p>We\u2019re also shipping the first preview of the second update to Visual Studio 2022, 17.2. The latest preview release of Visual Studio 2022 includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Bug fixes and improvements for .NET MAUI development<\/li><li>Continued enhancements in the Git experience<\/li><li>Support for new C# 11 refactorings, such as a new language feature called&nbsp;<a href=\"https:\/\/github.com\/dotnet\/csharplang\/blob\/main\/proposals\/raw-string-literal.md\" target=\"_blank\" rel=\"noreferrer noopener\">raw string literals<\/a><\/li><li>New capabilities for local development with your data using SQLite, Postgres, and MongoDB data sources<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"chunk-and-line-staging-with-git\">Chunk and line staging with Git<\/h3>\n\n\n\n<p>With Git, you\u2019ll see support for staging chunks of stages in your files right from the editor. To enable line staging support, navigate to&nbsp;<em>Tools &gt; Options &gt; Environment &gt; Preview Features<\/em>&nbsp;and check \u201cEnable line-staging support\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image-2.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/word-image-2.png\" alt=\"\" class=\"wp-image-236633\"\/><\/a><\/figure>\n\n\n\n<p>We\u2019ll be sharing updates on Git improvements in another blog post very soon, so stay tuned!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"new-c-11-refactorings\">New C# 11 refactorings<\/h3>\n\n\n\n<p>The new C#11 feature, raw string literals, will allow you to convert a normal or verbatim string literal to a raw string literal. To use raw string literals, first set the language version in your project file to preview using `&lt;LangVersion&gt;preview&lt;\/LangVersion&gt;. Then, place your cursor on a normal or verbatim string in the editor. Finally, press CTRL+. To trigger the Quick Actions and Refactorings menu, then select \u201cConvert to raw string\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/a-screenshot-of-a-computer-description-automatica-2.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/02\/a-screenshot-of-a-computer-description-automatica-2.png\" alt=\"A screenshot of a computer Description automatically generated with medium confidence\" class=\"wp-image-236634\"\/><\/a><\/figure>\n\n\n\n<p>To give the latest preview a try, look at the Visual Studio 2022&nbsp;<a href=\"https:\/\/visualstudio.microsoft.com\/vs\/preview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Preview channel<\/a>&nbsp;page for more information. Note that you\u2019ll be able to install it side-by-side with the 17.1 GA release. For full details on the 17.2 Preview 1 release, refer to the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/releases\/2022\/release-notes-preview\" target=\"_blank\" rel=\"noreferrer noopener\">release notes<\/a>.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"share-your-feedback-and-help-us-build-a-better-visual-studio\">Share your feedback and help us build a better Visual Studio!<\/h1>\n\n\n\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&nbsp;<a href=\"https:\/\/developercommunity2.visualstudio.com\/home\" target=\"_blank\" rel=\"noreferrer noopener\">Developer Community:<\/a>&nbsp;report any bugs or issues via&nbsp;<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio\" target=\"_blank\" rel=\"noreferrer noopener\">report a problem<\/a>&nbsp;and share your&nbsp;<a href=\"https:\/\/developercommunity2.visualstudio.com\/report?space=8&amp;entry=suggestion\" target=\"_blank\" rel=\"noreferrer noopener\">suggestions for new features<\/a>&nbsp;or improvements to existing ones.<\/p>\n\n\n\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.<a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Visual Studio 2022<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Link: https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-1-is-now-available\/ Publication date: Tueasday, February 15th, 2022 Author: Dominic Nahous, Senior Lead Program Manager, Visual Studio Today, Visual Studio 2022 17.1 graduates from preview and reaches general availability. Feedback&#8230; <a class=\"read-more-link\" href=\"https:\/\/tbekk.com\/devstream\/2022\/02\/16\/visual-studio-2022-17-1-is-now-available\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,111,10,9],"tags":[77,122],"class_list":["post-605","post","type-post","status-publish","format-standard","hentry","category-article","category-dev-tools","category-development","category-news","tag-c-3","tag-visual-studio-2022"],"_links":{"self":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/comments?post=605"}],"version-history":[{"count":3,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts\/605\/revisions"}],"predecessor-version":[{"id":608,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/posts\/605\/revisions\/608"}],"wp:attachment":[{"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/media?parent=605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/categories?post=605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tbekk.com\/devstream\/wp-json\/wp\/v2\/tags?post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}