Open zdpcdt opened 2 days ago
If I use this StyleInclude in App.axaml:
<StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml"
It will cause another similar error:
Uncaught Error: AggregateException_ctor_DefaultMessage (No precompiled XAML found for avares://Semi.Avalonia/Themes/Light/_index.axaml (baseUri: avares://Semi.Avalonia/Themes/Index.axaml), make sure to specify x:Class and include your XAML file as AvaloniaResource)
In Semi.Avalonia.Demo.Web, it can work through the
dotnet run
command, but it will cause error when I publish and deploy the demo.