From: miniduikboot Date: Sun, 28 Apr 2024 16:31:34 +0000 (+0200) Subject: Documentation: Update .NET 7 to .NET 8 X-Git-Tag: v1.9.2~4 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=414303b2c14af419743bad9218c4367ccaa2cf8a;p=rhonda%2Fimpostor.git Documentation: Update .NET 7 to .NET 8 --- diff --git a/docs/Building-from-source.md b/docs/Building-from-source.md index 2f4b98c..e9b8c0f 100644 --- a/docs/Building-from-source.md +++ b/docs/Building-from-source.md @@ -1,6 +1,6 @@ # Building from source -The solution contains the Impostor server and its dependencies, like Hazel and the plugin API. The server is built using [.NET 7](https://dotnet.microsoft.com/download/dotnet/7.0). +The solution contains the Impostor server and its dependencies, like Hazel and the plugin API. The server is built using [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0). ## Cloning Impostor @@ -14,7 +14,7 @@ git clone https://github.com/Impostor/Impostor.git ### Dependencies -- [.NET 7 SDK](https://dotnet.microsoft.com/download/dotnet/7.0) +- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) - [Rider](https://www.jetbrains.com/rider/) or [Visual Studio](https://visualstudio.microsoft.com/vs/) (Optional, only if you want the full IDE experience) ### Build using the CLI diff --git a/docs/Running-the-server.md b/docs/Running-the-server.md index 9bc8f77..d1d4793 100644 --- a/docs/Running-the-server.md +++ b/docs/Running-the-server.md @@ -16,7 +16,7 @@ Depending on your host you may also need to port forward Impostor to the interne ## Normal installation -1. Install [.NET 7.0](https://dotnet.microsoft.com/download/dotnet/7.0). We recommend either the ASP.NET Core Runtime or the SDK. The SDK is necessary in case you want to develop Impostor or Impostor plugins. +1. Install [.NET 8.0](https://dotnet.microsoft.com/download/dotnet/8.0). We recommend either the ASP.NET Core Runtime or the SDK. The SDK is necessary in case you want to develop Impostor or Impostor plugins. 2. Download the [latest release](https://github.com/Impostor/Impostor/releases) or the [latest CI build](https://nightly.link/Impostor/Impostor/workflows/ci/master). Note that Impostor is built for multiple CPU-architectures and operating systems, you most likely want the x64 version, unless you are running on a Raspberry Pi or another device/VPS with an Arm processor. 3. Extract the zip. 4. Modify `config.json` to your liking. Documentation can be found [here](Server-configuration.md). You need to at least change `PublicIp` to the address people will connect to your server to. diff --git a/docs/Writing-a-plugin.md b/docs/Writing-a-plugin.md index 597d680..a4bf480 100644 --- a/docs/Writing-a-plugin.md +++ b/docs/Writing-a-plugin.md @@ -27,18 +27,10 @@ https://dotnet.microsoft.com/download ## 2. Create a C# project -The first step is creating a new C# project, it must be a **Class Library (.NET Standard)**. The target framework can be any of those compatible with .NET 7, which includes: - -- .NET Standard 2.0 -- .NET Standard 2.1 -- .NET 5 -- .NET 6 -- .NET 7 +The first step is creating a new C# project, it must be a **Class Library (.NET Standard)**. The target framework can be any of those compatible with .NET 8, but we recommend sticking with **.NET 8.0**. For more information about compatibility, see https://docs.microsoft.com/en-us/dotnet/standard/net-standard. -> At the moment of writing this document, I recommend you to use **.NET 7.0**. - When the project has been created, you should have `Class.cs` and `Project.csproj` files. Your `Project.csproj` should look something like this. ```xml