From 7ac0284d29df9b7b8cdb7d579767ab5096fbc72f Mon Sep 17 00:00:00 2001 From: hazre <37149950+hazre@users.noreply.github.com> Date: Tue, 25 Nov 2025 01:26:52 +0100 Subject: [PATCH] Upgrade to .NET 10 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/verify-templates.yml | 2 +- .../.template.config/template.json | 4 ++-- .../ProjectName/ProjectName.csproj | 2 +- .../BepInEx6.PluginTemplate.Resonite/thunderstore.toml | 4 ++-- README.md | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f759a21..826a667 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-dotnet@v4 with: - dotnet-version: "9.0.x" + dotnet-version: "10.0.x" - name: Extract version id: version run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9739e7..98bf5fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: core.setOutput("version", version); - uses: actions/setup-dotnet@v4 with: - dotnet-version: "9.0.x" + dotnet-version: "10.0.x" - name: Build run: | dotnet build -c Release diff --git a/.github/workflows/verify-templates.yml b/.github/workflows/verify-templates.yml index 7530165..729def1 100644 --- a/.github/workflows/verify-templates.yml +++ b/.github/workflows/verify-templates.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-dotnet@v4 id: setup-dotnet with: - dotnet-version: 9.x + dotnet-version: 10.0.x - run: | dotnet new globaljson --sdk-version ${{ steps.setup-dotnet.outputs.dotnet-version }} diff --git a/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/.template.config/template.json b/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/.template.config/template.json index 378e212..860db56 100644 --- a/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/.template.config/template.json +++ b/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/.template.config/template.json @@ -3,9 +3,9 @@ "author": "ResoniteModding", "classifications": [ "BepInEx", "BepInEx 6" , "Plugin" , "CoreCLR", ".NET Core", "Resonite" ], "identity": "BepInEx6.PluginTemplate.Resonite", - "name": "BepInEx 6 Resonite Plugin (.NET 9, Thunderstore Ready)", + "name": "BepInEx 6 Resonite Plugin (.NET 10, Thunderstore Ready)", "shortName": "bep6resonite", - "description": "Creates a BepInEx 6 plugin for Resonite with .NET 9, auto-detection of game path, configurable package ID, and Thunderstore publishing support", + "description": "Creates a BepInEx 6 plugin for Resonite with .NET 10, auto-detection of game path, configurable package ID, and Thunderstore publishing support", "tags": { "language": "C#", "type": "project" diff --git a/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/ProjectName/ProjectName.csproj b/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/ProjectName/ProjectName.csproj index b52e90d..208a000 100644 --- a/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/ProjectName/ProjectName.csproj +++ b/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/ProjectName/ProjectName.csproj @@ -3,7 +3,7 @@ {version} {authors} - net9.0 + net10.0 {repositoryUrl} {packageId} ProjectName diff --git a/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/thunderstore.toml b/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/thunderstore.toml index 1eeb411..7c25a0f 100644 --- a/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/thunderstore.toml +++ b/BepInEx.Templates/templates/BepInEx6.PluginTemplate.Resonite/thunderstore.toml @@ -13,8 +13,8 @@ containsNsfwContent = false # List any dependencies your mod has here, in the format "namespace-modname" = "version-constraint" [package.dependencies] -ResoniteModding-BepisLoader = "1.5.0" -ResoniteModding-BepisResoniteWrapper = "1.0.1" +ResoniteModding-BepisLoader = "1.5.1" +ResoniteModding-BepisResoniteWrapper = "1.0.2" [build] icon = "./icon.png" diff --git a/README.md b/README.md index d78cae6..ef1e7a4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A collection of .NET project templates for 6 plugins for developing Resonite mod ## Installation -You will need [.NET 9 or newer](https://dotnet.microsoft.com/download) to use the templates. +You will need [.NET 10 or newer](https://dotnet.microsoft.com/download) to use the templates. To install, use [dotnet](https://dotnet.microsoft.com/download) tool. @@ -20,7 +20,7 @@ This will install the following project templates: | Templates | Short Name | Language | Tags | |--------------------------------------------------------|---------------|----------|----------------------------------------------------------| -| BepInEx 6 Resonite Plugin (.NET 9, Thunderstore Ready) | bep6resonite | [C#] | BepInEx/BepInEx 6/Plugin/CoreCLR/.NET 9/Resonite/Thunderstore | +| BepInEx 6 Resonite Plugin (.NET 10, Thunderstore Ready) | bep6resonite | [C#] | BepInEx/BepInEx 6/Plugin/CoreCLR/.NET 10/Resonite/Thunderstore | ## Using a template