Add .NET 8 (#1018)

* Add .NET 8

* 'Use .NET 8'

* tests 8

* 8

* tc8

* ci

* CI
This commit is contained in:
Stef Heyenrath
2023-12-04 18:05:18 +01:00
committed by GitHub
parent fb3ae53e1c
commit 8b91cec457
48 changed files with 293 additions and 1061 deletions

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<Authors>Stef Heyenrath</Authors>
<TargetFrameworks>net452;net461;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net452;net461;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>

View File

@@ -230,7 +230,7 @@ public partial class WireMockServerTests
server.Stop();
}
#if NETCOREAPP3_1 || NET5_0 || NET6_0 || NET7_0
#if NETCOREAPP3_1 || NET5_0_OR_GREATER
[Fact]
public async Task WireMockServer_WithCorsPolicyOptions_Should_Work_Correct()
{