Skip to content

Commit 73f814d

Browse files
authored
update target framework in porting guide
1 parent a69e544 commit 73f814d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

port-plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Notes
44

55
- When porting, please keep the author's commit history
6-
- Flow Launcher targets .Net Core 3.1, so plugins should also be upgraded to keep the continuity of future developments
6+
- Flow Launcher targets .Net 5, so plugins should also be upgraded to keep the continuity of future developments
77
- 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
88

99
### Steps
@@ -12,7 +12,7 @@
1212
2. Use try convert tool from https://github.com/dotnet/try-convert
1313
3. Try-convert -w path-to-folder-or-solution-or-project
1414
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:
15-
- fix <TargetFramework> to netcoreapp3.1
15+
- fix <TargetFramework> to net5.0-windows
1616
- set the output location as 'Output\Release\<name of the project>'
1717
- add `<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>` and `<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>` to the csproj file
1818
- bump version to 2.0.0 and fix up any missing attributes if neccessary

0 commit comments

Comments
 (0)