BurkusCat / Burkus.Mvvm.Maui

A simple MVVM framework for .NET MAUI. It provides: navigation, lifecycle events, parameter passing, native dialog abstractions, and testability.
MIT License
27 stars 5 forks source link

[Bug] AppReceiver sometimes picks up WinUI's app class by mistake #54

Closed BurkusCat closed 10 months ago

BurkusCat commented 10 months ago

Describe the bug The App source generator looks for a class called App. WinUI's class is called app but it is the incorrect type. This causes the source generator to fail on Windows.

To Reproduce Steps to reproduce the behavior:

  1. Have a WinUI app class in your project
  2. Debug Source Gen Demo App
  3. Observe exception

Expected behavior The source generator ignores the WinUI class