Added .net 10 target framework

This commit is contained in:
DarthAffe 2025-11-15 11:38:51 +01:00
parent a2827a082d
commit 020a3f02eb
2 changed files with 4 additions and 3 deletions

View File

@ -19,9 +19,10 @@ jobs:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
10.0.x
9.0.x
8.0.x
@ -49,7 +50,7 @@ jobs:
with:
tag_name: ${{ github.event.inputs.version }}
generate_release_notes: true
files: StableDiffusion.NET/bin/Release/net9.0/StableDiffusion.NET.dll
files: StableDiffusion.NET/bin/Release/net10.0/StableDiffusion.NET.dll
- name: Nuget Push
id: nuget_push

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
<TargetFrameworks>net10.0;net9.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>