FSharp.Maui.WinUICompat
1.1.0
dotnet add package FSharp.Maui.WinUICompat --version 1.1.0
NuGet\Install-Package FSharp.Maui.WinUICompat -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.Maui.WinUICompat" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FSharp.Maui.WinUICompat --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.Maui.WinUICompat, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FSharp.Maui.WinUICompat as a Cake Addin #addin nuget:?package=FSharp.Maui.WinUICompat&version=1.1.0 // Install FSharp.Maui.WinUICompat as a Cake Tool #tool nuget:?package=FSharp.Maui.WinUICompat&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FSharp.Maui.WinUICompat
Precompiled Microsoft.UI.Xaml.Application
compatible with the F# MAUI template.
How to use
- Add the
FSharp.Maui.WinUICompat
NuGet package to your F# MAUI project under theWindows
ItemGroup
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'windows'">
(...)
<PackageReference Include="FSharp.Maui.WinUICompat" Version="1.0.0" />
</ItemGroup>
- In the file
Platforms\Windows\App.fs
, change the inherited class toFSharp.Maui.WinUICompat.App
type App() =
- inherit MauiWinUIApplication()
+ inherit FSharp.Maui.WinUICompat.App()
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-windows10.0.19041 is compatible. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0-windows10.0.19041
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on FSharp.Maui.WinUICompat:
Repository | Stars |
---|---|
egvijayanand/dotnet-maui-samples
.NET MAUI Samples
|
### Added
- Add a props file to ensure the Maui WinUI target is compiled correctly by @PureWeen (https://github.com/fabulous-dev/FSharp.Maui.WinUICompat/pull/1)