FSharp.Maui.WinUICompat

Enables compiling a Maui application targeting WinUI


Keywords
F#, Maui, WinUI, Compatibility
License
Apache-2.0
Install
Install-Package FSharp.Maui.WinUICompat -Version 1.1.0

Documentation

FSharp.Maui.WinUICompat

Precompiled Microsoft.UI.Xaml.Application compatible with the F# MAUI template.

How to use

  1. Add the FSharp.Maui.WinUICompat NuGet package to your F# MAUI project under the Windows ItemGroup
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'windows'">
  (...)
  <PackageReference Include="FSharp.Maui.WinUICompat" Version="1.0.0" />
</ItemGroup>
  1. In the file Platforms\Windows\App.fs, change the inherited class to FSharp.Maui.WinUICompat.App
type App() =
-    inherit MauiWinUIApplication()
+    inherit FSharp.Maui.WinUICompat.App()