News

Xamarin Mobile Developers Get XAML Hot Reload in Visual Studio 2019 v16.4

Xamarin mobile developers using Visual Studio gained some functionality common to other IDEs as XAML Hot Reload for Xamarin.Forms was introduced with the new Visual Studio 2019 v16.4 release.

Visual Studio 2019 v16.4 shipped last week, including support for .NET Core 3.1 and multiple Xamarin goodies.

"XAML Hot Reload for Xamarin.Forms is now generally available (GA), enabling you to make changes to your XAML UI and see them reflected live, without requiring another build and deploy," said Pierce Boggan, senior program manager, Mobile Developer Tools, in a Dec. 5 blog post. "XAML Hot Reload for Xamarin.Forms speeds up your development and makes it easier to build, experiment, and iterate on your user interface. You no longer have to rebuild your app each time you tweak your UI – it instantly shows you your changes in your running app.

XAML Hot Reload
[Click on image for larger view.] XAML Hot Reload (source: Microsoft).

"Because your application is compiled using XAML Hot Reload, it works with all libraries and third-party controls, is available for iOS and Android, and works on all valid deployment targets, including simulators, emulators, and physical devices. For more information, check out the XAML Hot Reload for Xamarin.Forms documentation."

As we reported earlier, similar functionality is already found in alternative tooling such as React Native and Flutter.

Other new Xamarin functionality and features in Visual Studio 2019 v16.4 mentioned by Boggan include:

  • Android App Bundle Publishing: "We heard your feedback that you wanted smaller Android APKs. With Visual Studio 2019 version 16.4, we have introduced support for the Android App Bundle publishing format. App Bundles provide users with with optimized APKs per their device specifications when downloading an app from the Google Play Store or various Android App Stores."
  • Android X Migration Wizard: "The Android Support Library has had a long history of over the last 7 years providing backwards compatibility to Android framework APIs. Over the years, this library has grown in adoption as the majority of Android apps in the Google Play Store use the Support Library in some fashion today. AndroidX packages are the next generation of Android Support Libraries which includes simplified package names to better reflect each package’s content and it’s supported API levels. Because AndroidX is a redesign of the Android Support Library, it includes migration steps that will affect Android applications built with the Android Support Library."

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • VS Code Java Team Details 5 Best Dev Practices

    Microsoft's Visual Studio Code team for Java development added a new Coding Pack for Java installer and detailed best practices for setting up a development environment.

  • Binary Classification Using PyTorch: Defining a Network

    Dr. James McCaffrey of Microsoft Research tackles how to define a network in the second of a series of four articles that present a complete end-to-end production-quality example of binary classification using a PyTorch neural network, including a full Python code sample and data files.

  • Blazor Debugging Boosted in .NET 5 RC 2

    In highlighting updates to ASP.NET Core in the just-launched second and final Release Candidate of .NET 5, Microsoft pointed out better debugging for Blazor, the red-hot project that allows for C# coding of web projects.

  • Block Stack

    Final Go-Live .NET 5 Release Candidate Ships Ahead of Nov. 10 Debut

    Having been deemed "feature complete" and "near final" and "go live" for some time now, .NET 5 is out in a second and final Release Candidate, scheduled for a Nov. 10 debut during .NET Conf 2020.

  • Edge Browser Dev Tools for VS Code Now Generally Available

    Microsoft has moved its Edge browser development tools for Visual Studio Code from preview to general availability, providing in-editor web site debugging and other functionality.

Upcoming Events