{"id":228535,"date":"2020-03-16T10:30:19","date_gmt":"2020-03-16T17:30:19","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=228535"},"modified":"2020-03-17T12:29:49","modified_gmt":"2020-03-17T19:29:49","slug":"visual-studio-2019-version-16-5","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2019-version-16-5\/","title":{"rendered":"Visual Studio 2019 version 16.5 is now available"},"content":{"rendered":"<p>The Visual Studio 2019 team here in Redmond has been living under a perpetually grey, wet winter sky since our last minor release. Thankfully, we are beginning to see the sun making regular appearances.\u00a0 It is our hope this newest release will also brighten your day. Visual Studio 2019 version 16.5 contains anticipated new features from XAML, .NET, C++ and Debugging.\u00a0 In addition, we have addressed several issues found in our Preview releases. We believe this combination is ready to make your developer journey more productive. If you have any additional ideas to contribute to our product, we invite you to participate in our <a href=\"https:\/\/developercommunity.visualstudio.com\/\">Developer Community<\/a> forum.<\/p>\n<p>While I elaborate, why not download our latest version to try for yourself? Also keep in mind, a more complete list of all changes are available in the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/releases\/2019\/release-notes\">Visual Studio 2019 release notes<\/a>.<\/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\">Install Visual Studio 2019 v16.5<\/a><\/div><\/p>\n<h3>.NET Mobile Development<\/h3>\n<p>Our first feature to discuss is <a href=\"https:\/\/docs.microsoft.com\/en-us\/xamarin\/xamarin-forms\/xaml\/hot-reload\">XAML Hot Reload for Xamarin.Forms<\/a>. This feature speeds up your development and makes it easier to build, experiment, and iterate over your mobile app&#8217;s user interface. How? You do not need to rebuild your app each time you tweak your UI as changes instantly show while the app is running! Because this updates as you make changes, if you have interacted with the application, the state of the application is not lost as you make the changes.\u00a0 Consequently, you do not have to recreate the repo as you previously did. That&#8217;s pretty exciting, isn&#8217;t it?<\/p>\n<p>We heard lots of feedback on a specific need shared via <a href=\"https:\/\/developercommunity.visualstudio.com\/idea\/699571\/allow-hotreload-on-multiple-devicesemulators-at-th.html\">Developer Community Suggestions<\/a>.\u00a0 Due to the fact, you wanted to see changes made to your XAML reload instantaneously on multiple targets such as an iOS simulator and Android emulator, so we have added that capability.<\/p>\n<h3>\u00a0.NET Productivity<\/h3>\n<p>To help with .NET Productivity several features ship in this Visual Studio 2019 version 16.5 release.<\/p>\n<p>First of all, you can convert <em>if<\/em> statements to <em>switch<\/em> statements or switch expressions. To do this, place your cursor on the if keyword. Press <strong>Ctrl<\/strong>+<strong>.<\/strong> to trigger the <strong>Quick Actions and Refactorings<\/strong> menu. Finally, select <strong>Convert to &#8216;switch&#8217; statement<\/strong> or <strong>Convert to &#8216;switch&#8217; expression<\/strong>.<\/p>\n<p><figure id=\"attachment_228633\" aria-labelledby=\"figcaption_attachment_228633\" class=\"wp-caption aligncenter\" >