Removing xaml.cs with C# Source Generators

May 3, 2020By MichaelXamarin No Comments

When creating a Xamarin Forms solution with an MVVM framework such as Prism, the view’s backing xaml.cs files are boilerplate. Our application’s logic lives in our view models and ideally their should be no code in the view’s cs file. However if you try deleting them the world breaks and MSBuild has a tantrum. Enter … Read More