Update dotnet version

Change references to dotnet 5.0 to dotnet 6.0 as the plugin template has been updated to dotnet 6.0.
This commit is contained in:
Konrad Rej 2022-01-12 00:04:39 +01:00 committed by GitHub
parent 213e4705b3
commit 503f7e4696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
# So you want to make a Jellyfin plugin # So you want to make a Jellyfin plugin
Awesome! This guide is for you. Jellyfin plugins are written using the dotnet standard framework. What that means is you can write them in any language that implements the CLI or the DLI and can compile to net5.0. The examples on this page are in C# because that is what most of Jellyfin is written in, but F#, Visual Basic, and IronPython should all be compatible once compiled. Awesome! This guide is for you. Jellyfin plugins are written using the dotnet standard framework. What that means is you can write them in any language that implements the CLI or the DLI and can compile to net6.0. The examples on this page are in C# because that is what most of Jellyfin is written in, but F#, Visual Basic, and IronPython should all be compatible once compiled.
## 0. Things you need to get started ## 0. Things you need to get started
- [Dotnet SDK 5.0](https://dotnet.microsoft.com/download) - [Dotnet SDK 6.0](https://dotnet.microsoft.com/download)
- An editor of your choice. Some free choices are: - An editor of your choice. Some free choices are:
@ -39,7 +39,7 @@ If you'd rather start from scratch keep going on to step one. This assumes no sp
Make a new dotnet standard project with the following command, it will make a directory for itself. Make a new dotnet standard project with the following command, it will make a directory for itself.
``` ```
dotnet new classlib -f net5.0 -n MyJellyfinPlugin dotnet new classlib -f net6.0 -n MyJellyfinPlugin
``` ```
Now add the Jellyfin shared libraries. Now add the Jellyfin shared libraries.