Timothé Larivière
Timothé Larivière
@WillEhrendreich I didn't had time to prepare you a full sample, but I understand better how to make it work. Those steps should lead you to a working WinUI project:...
@WillEhrendreich I created this library to take care of most of the steps above: https://github.com/fsharp-mobile/FSharp.Maui.WinUICompat The idea is to remove the `App.xaml` and `App.xaml.fs` files from `Platforms\Windows` in the MAUI...
I like that idea. I think it would be better to make use of GitHub templating instead of creating a `dotnet new` template.
Thanks for the report! I managed to reproduce with the example given 👍 What's happening in your case is that Fabulous expects your `items` to be a stable reference value...
Oh great! Fabulous expects a single root by default. But if you found a way that suits you that's awesome. :) >So then it comes down to getting more WPF...
Also, there are quite a few values you can override in `src\Fabulous.WPF\WPF.json`, if need be. https://github.com/fsprojects/Fabulous/blob/master/Fabulous.CodeGen/src/Fabulous.CodeGen/Models.fs
Could you try to declare `System.Windows.UIElement` (with CanBeInstantiated = false) in the JSON file? (no property required) When a type is declared, the Generator automatically replaces the type (when required...