{"id":45051,"date":"2019-08-13T14:30:25","date_gmt":"2019-08-13T21:30:25","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/xamarin\/?p=45051"},"modified":"2022-05-05T08:08:37","modified_gmt":"2022-05-05T15:08:37","slug":"visual-studio-2019-previews","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/visual-studio-2019-previews\/","title":{"rendered":"What&#8217;s New for Xamarin Developers in Visual Studio 2019 Previews"},"content":{"rendered":"<p><strong>1\/8\/2020: XAML Hot Reload is now stable in both Visual Studio and Visual Studio for Mac! Learn more about it in our <a href=\"https:\/\/aka.ms\/XAMLHotReloadDocs\">documentation<\/a>.<\/strong><\/p>\n<p>Today, Visual Studio 2019 version 16.3 Preview 2 and Visual Studio 2019 for Mac version 8.3 Preview 2 released with many improvements for mobile developers in Visual Studio. This release includes major productivity enhancements such as <a href=\"https:\/\/devblogs.microsoft.com\/xamarin\/xaml-hot-reload\/\" target=\"_blank\" rel=\"noopener noreferrer\">XAML Hot Reload for Xamarin.Forms<\/a> and improvements to the XAML Previewer for Xamarin.Forms. As well as support for the latest Android Q APIs.<\/p>\n<p>This blog highlights some of the features available to use in today&#8217;s preview release. <center>\n<\/center><\/p>\n<p><iframe width=\"700\" height=\"395\" src=\"https:\/\/www.youtube.com\/embed\/Y3nGkzbc0JE\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>XAML Hot Reload for Xamarin.Forms<\/h2>\n<p>XAML Hot Reload for Xamarin.Forms is now available for all to try! Enabling you to make changes to your XAML UI and see them reflected live. Without ever requiring another build and deploy.<\/p>\n<p>XAML Hot Reload for Xamarin.Forms speeds up your development. While also making it easier to build, experiment, and iterate on your user interface. This means no longer having to rebuild your app each time you tweak your UI. Because it instantly shows you your changes in your running app!<\/p>\n<p>When your application is compiled using XAML Hot Reload, it works with all libraries and third-party controls. It will be available for iOS and Android in Visual Studio 2019 and Visual Studio 2019 for Mac. This works on all valid deployment targets, including simulators, emulators, and physical devices.<\/p>\n<p>To use XAML Hot Reload for Xamarin.Forms, it must be enabled via:<\/p>\n<p><strong>Tools<\/strong> > <strong>Options<\/strong> > <strong>Xamarin<\/strong> > <strong>Hot Reload<\/strong> > <strong>Enable XAML Hot Reload for Xamarin.Forms<\/strong><\/p>\n<p>Check out the <a href=\"https:\/\/aka.ms\/XAMLHotReloadDocs\">XAML Hot Reload for Xamarin.Forms documentation<\/a> for more information. <center>\n<\/center><\/p>\n<p><iframe width=\"700\" height=\"395\" src=\"https:\/\/www.youtube.com\/embed\/Iu-JFCSkKUc\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Android Q Preview Support<\/h2>\n<p>You can now use Android Q Beta 4 Final APIs within Xamarin.Android, including:<\/p>\n<ul>\n<li><strong>Support a Dark Theme<\/strong> to ensure a consistent experience for users who enable system-wide dark theme.<\/li>\n<li><strong>Support Gesture Navigation<\/strong> in your app by going edge-to-edge and making sure your custom gestures are complementary to the system navigation gestures.<\/li>\n<li><strong>Optimize for foldables<\/strong>: Deliver seamless, edge-to-edge experiences on today\u2019s innovative foldable devices.<\/li>\n<li><strong>More interactive notifications<\/strong> by enabling suggested replies and actions in your notifications to engage with your users.<\/li>\n<li><strong>Better Networking APIs<\/strong> for Wi-Fi network requests and connectivity. <\/li>\n<\/ul>\n<p>Get started with the Android Q Preview by setting <strong>Compile using Android version: (Target Framework)<\/strong> to <strong>Android 10.0 (Q)<\/strong> under the <strong>Application<\/strong> tab of the Visual Studio project property pages. <center>\n  <img decoding=\"async\" class=\"aligncenter size-medium wp-image-45066\" src=\"http:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/AndroidQ-300x82.png\" alt=\"Android Q Preview Support Visual Studio 2019\" width=\"600\" height=\"164\" srcset=\"https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/AndroidQ-300x82.png 300w, https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/AndroidQ.png 750w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\n<\/center><\/p>\n<h2>XAML Previewer for Xamarin.Forms<\/h2>\n<p>The XAML Previewer for Xamarin.Forms in Visual Studio 2019 is <a href=\"https:\/\/devblogs.microsoft.com\/xamarin\/xamarin-visual-studio-2019\/\" target=\"_blank\" rel=\"noopener noreferrer\">packed full of updates<\/a> driven by your feedback! Including buildless previews, support for design-time data, and expanded support for custom controls. New in the latest Visual Studio 2019 preview is the ability to visualize UIs utilizing Xamarin.Forms Visuals. As well as the <a href=\"https:\/\/docs.microsoft.com\/en-us\/xamarin\/xamarin-forms\/user-interface\/visual\/material-visual\" target=\"_blank\" rel=\"noopener noreferrer\">Material Visual<\/a>. <center>\n  <img decoding=\"async\" class=\"aligncenter size-medium wp-image-45063\" src=\"http:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/2019-07-12-visual-suport-in-android-previewer-300x143.gif\" alt=\"XAML Previewer for Xamarin.Forms Visual Studio 2019\" width=\"600\" height=\"286\" srcset=\"https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/2019-07-12-visual-suport-in-android-previewer-300x143.gif 300w, https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/2019-07-12-visual-suport-in-android-previewer-768x366.gif 768w, https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/2019-07-12-visual-suport-in-android-previewer-1024x487.gif 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\n<\/center><\/p>\n<h2>Constraint Editing in the iOS Designer<\/h2>\n<p>Based on your feedback, the iOS Designer is introducing a new way to work with constraints. When a constrainable view is selected in the design view, an ellipsis will now appear in the designer toolbar next to the Constraints Pinning mode selector. For editing constraints on the selected view, click the ellipsis to display the popover:<\/p>\n<p><center>\n  <img decoding=\"async\" class=\"aligncenter size-medium wp-image-45068\" src=\"http:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/Constraints-300x208.png\" alt=\"Constraint Editing in the iOS Designer Visual Studio 2019\" width=\"600\" height=\"416\" srcset=\"https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/Constraints-300x208.png 300w, https:\/\/devblogs.microsoft.com\/xamarin\/wp-content\/uploads\/sites\/44\/2019\/08\/Constraints.png 750w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\n<\/center><\/p>\n<h2>Try the Previews Today!<\/h2>\n<p>With all the improvements coming in today&#8217;s preview release, your feedback will help make this an amazing release. Visual Studio previews on Windows can be installed side-by-side with stable. Additionally, they are sandboxed to prevent any side effects from affecting your primary development environment. Visual Studio for Mac enables you to quickly try previews and see how they work for you by changing the update channel to <strong>Preview<\/strong>.<\/p>\n<p>Try out these previews! Including features like XAML Hot Reload for Xamarin.Forms. Let us know how it works for you and your team by filing issues via:<\/p>\n<p><strong>Help<\/strong> > <strong>Send Feedback<\/strong> > <strong>Report a Problem<\/strong><\/p>\n<p>As well as on Twitter <a href=\"https:\/\/twitter.com\/pierceboggan\" target=\"_blank\" rel=\"noopener noreferrer\">@pierceboggan<\/a>, <a href=\"https:\/\/twitter.com\/maddyleger1\" target=\"_blank\" rel=\"noopener noreferrer\">@maddyleger1<\/a>, or <a href=\"https:\/\/twitter.com\/_JonDouglas\" target=\"_blank\" rel=\"noopener noreferrer\">@_JonDouglas<\/a>.<\/p>\n<p>For a complete overview of everything new for developers in Visual Studio 2019, check out the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/releases\/2019\/release-notes-preview#16.3.0-pre.2.0\">. <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio 2019 version 16.3 Preview 2 and Visual Studio 2019 for Mac version 8.3 Preview 2 released with major productivity enhancements: XAML Hot Reload for Xamarin.Forms, improvements to the XAML Previewer, along with support for the latest Android Q APIs.<\/p>\n","protected":false},"author":546,"featured_media":45063,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2,6602,291],"tags":[5,6605,6603,4127,5843,4,16,6604],"class_list":["post-45051","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","category-visual-studio","category-xamarin-platform","tag-android","tag-ios-designer","tag-preview","tag-visual-studio-2019","tag-visual-studio-for-mac","tag-xamarin-platform","tag-xamarin-forms","tag-xaml-hot-reload"],"acf":[],"blog_post_summary":"<p>Visual Studio 2019 version 16.3 Preview 2 and Visual Studio 2019 for Mac version 8.3 Preview 2 released with major productivity enhancements: XAML Hot Reload for Xamarin.Forms, improvements to the XAML Previewer, along with support for the latest Android Q APIs.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/45051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/546"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=45051"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/45051\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media\/45063"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=45051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=45051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=45051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}