{"id":18378215,"url":"https://github.com/fabulous-dev/fsharp.maui.winuicompat","last_synced_at":"2025-04-06T22:32:15.458Z","repository":{"id":63255649,"uuid":"566428842","full_name":"fabulous-dev/FSharp.Maui.WinUICompat","owner":"fabulous-dev","description":"A dummy C# library to let MAUI F# template compile for WinUI","archived":false,"fork":false,"pushed_at":"2023-02-17T08:22:40.000Z","size":199,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T05:06:17.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabulous-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["TimLariviere"]}},"created_at":"2022-11-15T16:49:12.000Z","updated_at":"2023-02-17T07:52:13.000Z","dependencies_parsed_at":"2024-11-06T00:43:43.264Z","dependency_job_id":null,"html_url":"https://github.com/fabulous-dev/FSharp.Maui.WinUICompat","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":"0.11111111111111116","last_synced_commit":"c6c139ed136a2c39409a206da9ce28c7bf54e6ea"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabulous-dev%2FFSharp.Maui.WinUICompat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabulous-dev%2FFSharp.Maui.WinUICompat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabulous-dev%2FFSharp.Maui.WinUICompat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabulous-dev%2FFSharp.Maui.WinUICompat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabulous-dev","download_url":"https://codeload.github.com/fabulous-dev/FSharp.Maui.WinUICompat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563901,"owners_count":20958971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T00:32:07.855Z","updated_at":"2025-04-06T22:32:14.989Z","avatar_url":"https://github.com/fabulous-dev.png","language":"C#","funding_links":["https://github.com/sponsors/TimLariviere"],"categories":[],"sub_categories":[],"readme":"# FSharp.Maui.WinUICompat\n\nPrecompiled `Microsoft.UI.Xaml.Application` compatible with the F# MAUI template.\n\n## How to use\n\n1. Add the `FSharp.Maui.WinUICompat` NuGet package to your F# MAUI project under the `Windows` ItemGroup\n\n```xml\n\u003cItemGroup Condition=\"$(TargetPlatformIdentifier) == 'windows'\"\u003e\n  (...)\n  \u003cPackageReference Include=\"FSharp.Maui.WinUICompat\" Version=\"1.0.0\" /\u003e\n\u003c/ItemGroup\u003e\n```\n\n2. In the file `Platforms\\Windows\\App.fs`, change the inherited class to `FSharp.Maui.WinUICompat.App`\n\n```diff\ntype App() =\n-    inherit MauiWinUIApplication()\n+    inherit FSharp.Maui.WinUICompat.App()\n```\n\n3. Create the file `Platforms\\Windows\\Main.fs`, add the following code\n\n```fs\nmodule Program =\n    [\u003cEntryPoint\u003e]\n    [\u003cSTAThread\u003e]\n    let main args =\n        do FSharp.Maui.WinUICompat.Program.Main(args, typeof\u003cYourApp.WinUI.App\u003e)\n        0\n```\n\nWhere `YourApp.WinUI.App` is the `App` class defined in step 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabulous-dev%2Ffsharp.maui.winuicompat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabulous-dev%2Ffsharp.maui.winuicompat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabulous-dev%2Ffsharp.maui.winuicompat/lists"}