From 1af41e1f66476b145f56f717632394ca2cf22e71 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Fri, 6 Nov 2026 02:16:51 -0800 Subject: [PATCH] Update .NET target to .NET 10 --- .github/workflows/regenerate-api-docs.yml | 2 +- Flow.Launcher.DocsGen/Flow.Launcher.DocsGen.csproj | 2 +- port-plugins.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/regenerate-api-docs.yml b/.github/workflows/regenerate-api-docs.yml index 57c3216..3db6a05 100644 --- a/.github/workflows/regenerate-api-docs.yml +++ b/.github/workflows/regenerate-api-docs.yml @@ -33,7 +33,7 @@ jobs: - name: Setup .Net for DocsGen uses: actions/setup-dotnet@v6 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Regenerate API docs working-directory: docs diff --git a/Flow.Launcher.DocsGen/Flow.Launcher.DocsGen.csproj b/Flow.Launcher.DocsGen/Flow.Launcher.DocsGen.csproj index 8c2ad4b..5064f2a 100644 --- a/Flow.Launcher.DocsGen/Flow.Launcher.DocsGen.csproj +++ b/Flow.Launcher.DocsGen/Flow.Launcher.DocsGen.csproj @@ -9,7 +9,7 @@ https://github.com/Flow-Launcher/docs/pull/42#issuecomment-1005742765 --> Exe - net9.0-windows10.0.19041.0 + net10.0-windows10.0.19041.0 diff --git a/port-plugins.md b/port-plugins.md index d1399aa..e7e06e3 100644 --- a/port-plugins.md +++ b/port-plugins.md @@ -3,7 +3,7 @@ ### Notes - When porting, please keep the author's commit history -- Flow Launcher targets minimum .NET 9, so older plugins should be upgraded to keep the continuity of their future developments +- Flow Launcher targets minimum .NET 10, so older plugins should be upgraded to keep the continuity of their future developments - All dll libraries used by the plugin should be outputted and included in the final build, to do this, set the attribute CopyLocalLockFileAssemblies in your project file to true ### Steps @@ -12,7 +12,7 @@ 2. Use `try-convert` tool from https://github.com/dotnet/try-convert 3. `try-convert -w path-to-folder-or-solution-or-project` 4. May need to fix on the project file, a good template to follow is the [Explorer plugin](https://github.com/Flow-Launcher/Flow.Launcher/blob/dev/Plugins/Flow.Launcher.Plugin.Explorer/Flow.Launcher.Plugin.Explorer.csproj) project: - - fix `` to `net9.0-windows10.0.19041.0` + - fix `` to `net10.0-windows10.0.19041.0` - set the output location as `Output\Release\` - add `true` and `false` to the csproj file - bump version to 2.0.0 and fix up any missing attributes if necessary