SkillAgentSearch skills...

Xamarin.Forms.Xaml.LiveReload

Live reloading of XAML pages in the iOS and Android simulators when saving changes to XAML files from Visual Studio.

Install / Use

/learn @klofberg/Xamarin.Forms.Xaml.LiveReload
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Live reload for Xamarin.Forms XAML pages

Live reloading of XAML pages in the iOS and Android simulators when saving changes to XAML files from Visual Studio.

Build Status

klofberg MyGet Build Status

Instructions

  1. Install nuget package Xamarin.Forms.Xaml.LiveReload from https://www.myget.org/F/klofberg/api/v3/index.json

  2. Add the following to your Xamarin.Forms App class

    public partial class App : Application
    {
        protected override void OnStart()
        {
            #if DEBUG
            Xamarin.Forms.Xaml.LiveReload.LiveReload.Enable(this, exception =>
            {
                System.Diagnostics.Debug.WriteLine(exception);
            });
            #endif
        }
    }
  1. Start the live reload server from your solution directory .\packages\Xamarin.Forms.Xaml.LiveReload.*\livereload.exe

  2. Debug the app from Visual Studio, change a XAML file to see it reload automatically in the simulator

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks4

Languages

C#

Security Score

70/100

Audited on Mar 3, 2025

No findings