- Xamarin.Forms Projects
- Daniel Hindrikes Johan Karlsson David Ortinau
- 309字
- 2021-06-18 18:35:23
Xamarin productivity tooling
Xamarin Hot Restart and Xamarin Hot Reload are two tools that increase productivity for Xamarin developers.
Xamarin Hot Restart
Hot Restart is a Visual Studio feature, which is currently in preview, to make developers more productive. It also gives us a way of running and debugging iOS apps on an iPhone without having to use a Mac connected to Visual Studio. Microsoft describes Hot Restart as follows:
"Xamarin Hot Restart enables you to quickly test changes to your app during development, including multi-file code edits, resources, and references. It pushes the new changes to the existing app bundle on the debug target which results in a much faster build and deploy cycle.
"
To use Hot Restart, you need the following:
- Visual Studio 2019 version 16.5 or later
- iTunes (64 bit)
- An Apple Developer account and paid Apple Developer Program (https://developer.apple.com/programs/) enrollment
Hot Restart can currently only be used with Xamarin.Forms apps.
To activate Hot Restart, go to Tools | Options | Environment | Preview Features | Enable Xamarin Hot Restart.
Read more about the current state of Hot Restart at https://docs.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart.
Xamarin XAML Hot Reload
Xamarin XAML Hot Reload allows us to make changes to our XAML without having to redeploy our app. When we have carried out changes to the XAML, we just save the file and it updates the page on the simulator/emulator or on a device. XAML Hot Reload is currently only supported by iOS and Android.
To enable XAML Hot Reload for Visual Studio on Windows, go to Visual Studio | Preferences | Tools for Xamarin | XAML Hot Reload.
To enable XAML Hot Reload for Visual Studio on Mac, go to Tools | Options | Xamarin | Hot Reload.
To use XAML Hot Reload, we have to use Xamarin.Forms 4.1+ with Visual Studio 2019 16.4+ (or Visual Studio for Mac 8.4+).
- Kubernetes修煉手冊
- Windows Server 2019 Cookbook
- Linux實(shí)戰(zhàn)
- Puppet實(shí)戰(zhàn)
- Linux Mint Essentials
- Google系統(tǒng)架構(gòu)解密:構(gòu)建安全可靠的系統(tǒng)
- 阿里云數(shù)字新基建系列:云原生操作系統(tǒng)Kubernetes
- Mastering Distributed Tracing
- 循序漸進(jìn)學(xué)Docker
- 高性能Linux服務(wù)器構(gòu)建實(shí)戰(zhàn):系統(tǒng)安全、故障排查、自動化運(yùn)維與集群架構(gòu)
- Java EE 8 Design Patterns and Best Practices
- 網(wǎng)絡(luò)操作系統(tǒng)教程:Windows Server 2016管理與配置
- Windows 8實(shí)戰(zhàn)從入門到精通(超值版)
- 分布式高可用架構(gòu)之道
- Windows 7實(shí)戰(zhàn)從入門到精通