diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index ea4d577..8dc8ef3 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -8,19 +8,16 @@ - - - - + - + \ No newline at end of file diff --git a/src/Endpointer.IntegrationTests/Endpointer.IntegrationTests.csproj b/src/Endpointer.IntegrationTests/Endpointer.IntegrationTests.csproj index e7388bd..f1baedc 100644 --- a/src/Endpointer.IntegrationTests/Endpointer.IntegrationTests.csproj +++ b/src/Endpointer.IntegrationTests/Endpointer.IntegrationTests.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0;net9.0;net10.0 Exe @@ -11,6 +11,16 @@ + + + + + + + + + + diff --git a/src/Endpointer.TestWebApi/Endpointer.TestWebApi.csproj b/src/Endpointer.TestWebApi/Endpointer.TestWebApi.csproj index 93d584b..07c217d 100644 --- a/src/Endpointer.TestWebApi/Endpointer.TestWebApi.csproj +++ b/src/Endpointer.TestWebApi/Endpointer.TestWebApi.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0;net9.0;net10.0 diff --git a/src/Endpointer.TestWebApi/Program.cs b/src/Endpointer.TestWebApi/Program.cs index f076d1d..4b4aad4 100644 --- a/src/Endpointer.TestWebApi/Program.cs +++ b/src/Endpointer.TestWebApi/Program.cs @@ -10,3 +10,8 @@ app.MapEndpointer(); await app.RunAsync(); + +// Make Program class accessible for WebApplicationFactory in integration tests < .NET 10 +#pragma warning disable S1118 +public partial class Program; +#pragma warning restore S1118 diff --git a/src/Endpointer/Endpointer.csproj b/src/Endpointer/Endpointer.csproj index 16453dc..512694f 100644 --- a/src/Endpointer/Endpointer.csproj +++ b/src/Endpointer/Endpointer.csproj @@ -24,11 +24,17 @@ false true true + $(NoWarn);NU5128 + + + + + diff --git a/src/Endpointer/build/_._ b/src/Endpointer/build/_._ new file mode 100644 index 0000000..e69de29