diff --git a/Dockerfile b/Dockerfile index d446dc8..9b6301e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /source # copy csproj and restore as distinct layers diff --git a/README.md b/README.md index f3d5a45..24e2cb7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Allows to use [StrEnum](https://github.com/StrEnum/StrEnum/) string enums with ASP.NET Core. -Supports ASP.NET Core 6, 7, 8, and 9. +Supports ASP.NET Core 6-10. ASP.NET Core 5 supported in v2.0.0. @@ -91,6 +91,6 @@ public ActionResult GetFromQuery([FromQuery] Sport[] sports ## License -Copyright © 2025 [Dmytro Khmara](https://dmytrokhmara.com). +Copyright © 2026 [Dmytro Khmara](https://dmytrokhmara.com). StrEnum is licensed under the [MIT license](LICENSE.txt). diff --git a/src/StrEnum.AspNetCore/StrEnum.AspNetCore.csproj b/src/StrEnum.AspNetCore/StrEnum.AspNetCore.csproj index 1d740d1..b670bc1 100644 --- a/src/StrEnum.AspNetCore/StrEnum.AspNetCore.csproj +++ b/src/StrEnum.AspNetCore/StrEnum.AspNetCore.csproj @@ -12,7 +12,7 @@ git https://github.com/StrEnum/StrEnum - netcoreapp3.1;net6.0;net7.0;net8.0;net9.0 + netcoreapp3.1;net6.0;net7.0;net8.0;net9.0;net10.0 enable 10.0 enable @@ -20,7 +20,7 @@ - + diff --git a/test/StrEnum.AspNetCore.IntegrationTests/StrEnum.AspNetCore.IntegrationTests.csproj b/test/StrEnum.AspNetCore.IntegrationTests/StrEnum.AspNetCore.IntegrationTests.csproj index d0b23d0..ffa211b 100644 --- a/test/StrEnum.AspNetCore.IntegrationTests/StrEnum.AspNetCore.IntegrationTests.csproj +++ b/test/StrEnum.AspNetCore.IntegrationTests/StrEnum.AspNetCore.IntegrationTests.csproj @@ -1,18 +1,18 @@  - net9.0 + net10.0 enable false - - - + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all