From 5a8a80c47c9eca53d7272439736d3ec293a25744 Mon Sep 17 00:00:00 2001 From: Vladimir Pecanac Date: Sun, 18 Oct 2026 14:21:20 +0200 Subject: [PATCH] IisHttpError500-31: target net10.0, update test packages, async Task test --- .../IisHttpError500-31/IisHttpError500-31.csproj | 2 +- .../IisHttpError500-31/Tests/NetVersionTests.cs | 2 +- .../IisHttpError500-31/Tests/Tests.csproj | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aspnetcore-features/IisHttpError500-31/IisHttpError500-31/IisHttpError500-31.csproj b/aspnetcore-features/IisHttpError500-31/IisHttpError500-31/IisHttpError500-31.csproj index 79603345ff..f7214f269b 100644 --- a/aspnetcore-features/IisHttpError500-31/IisHttpError500-31/IisHttpError500-31.csproj +++ b/aspnetcore-features/IisHttpError500-31/IisHttpError500-31/IisHttpError500-31.csproj @@ -1,7 +1,7 @@ - net7.0 + net10.0 enable enable IisHttpError500_31 diff --git a/aspnetcore-features/IisHttpError500-31/Tests/NetVersionTests.cs b/aspnetcore-features/IisHttpError500-31/Tests/NetVersionTests.cs index 45e1e85cf7..7f7cb0bf11 100644 --- a/aspnetcore-features/IisHttpError500-31/Tests/NetVersionTests.cs +++ b/aspnetcore-features/IisHttpError500-31/Tests/NetVersionTests.cs @@ -19,7 +19,7 @@ public void WhenCheckingNetVersion_ThenShouldNotBeNull() } [Fact] - public async void WhenGetIndexPageIsCalled_Then200StatusCodeIsReturned() + public async Task WhenGetIndexPageIsCalled_Then200StatusCodeIsReturned() { //Given var client = _factory.CreateClient(); diff --git a/aspnetcore-features/IisHttpError500-31/Tests/Tests.csproj b/aspnetcore-features/IisHttpError500-31/Tests/Tests.csproj index a3a726ae84..c72085ab31 100644 --- a/aspnetcore-features/IisHttpError500-31/Tests/Tests.csproj +++ b/aspnetcore-features/IisHttpError500-31/Tests/Tests.csproj @@ -1,7 +1,7 @@  - net7.0 + net10.0 enable enable @@ -10,14 +10,14 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all