From 9a350cb8fc7cf6343d7171d0e9995cfd5e3dc468 Mon Sep 17 00:00:00 2001 From: Robert Peter Meyer <73112377+BoBoBaSs84@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:30:07 +0100 Subject: [PATCH] chore: remove unused package reference (#49) * chore: remove unused package reference changes: - removed `Moq` from `Webserver.Api.UnitTests` - removed `System.Web.Http.Common` from `Webserver.Api.UnitTests` - updated `System.Net.Http` to be frame work specific in `Webserver.API` - nuget version bump TestAdapter closes #48 changes: - `coverlet.collector` => `6.0.0` - `NUnit3TestAdapter` => `4.5.0` --- WebserverAPI.sln | 17 ++-- src/Webserver.API/Webserver.API.csproj | 6 +- .../Webserver.Api.UnitTests.csproj | 80 +++++++++---------- 3 files changed, 55 insertions(+), 48 deletions(-) diff --git a/WebserverAPI.sln b/WebserverAPI.sln index b7790b4..e288134 100644 --- a/WebserverAPI.sln +++ b/WebserverAPI.sln @@ -3,16 +3,23 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.2.32526.322 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{29F9C865-DCDE-477B-BD56-11451E6A6C1F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Webserver.API", "src\Webserver.API\Webserver.API.csproj", "{023E3E93-8E71-48BA-9616-CCEDF8A34415}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Webserver.Api.UnitTests", "tests\Webserver.API.UnitTests\Webserver.Api.UnitTests.csproj", "{F4F34F39-86B1-43D6-AD75-48ED8B45DFA8}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{88538A94-22C2-485F-8D86-CA2F71ECE8AE}" ProjectSection(SolutionItems) = preProject .gitignore = .gitignore + CONTRIBUTING.md = CONTRIBUTING.md + CONTRIBUTING.pdf = CONTRIBUTING.pdf + Directory.Build.props = Directory.Build.props + LICENSE.md = LICENSE.md + MAINTAINERS.md = MAINTAINERS.md + nuget.config = nuget.config + README.md = README.md version.json = version.json EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Webserver.API", "src\Webserver.API\Webserver.API.csproj", "{023E3E93-8E71-48BA-9616-CCEDF8A34415}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Webserver.Api.UnitTests", "tests\Webserver.API.UnitTests\Webserver.Api.UnitTests.csproj", "{F4F34F39-86B1-43D6-AD75-48ED8B45DFA8}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 diff --git a/src/Webserver.API/Webserver.API.csproj b/src/Webserver.API/Webserver.API.csproj index 5ba5385..5a32370 100644 --- a/src/Webserver.API/Webserver.API.csproj +++ b/src/Webserver.API/Webserver.API.csproj @@ -27,11 +27,13 @@ - + - + + + diff --git a/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj b/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj index 40e5bb6..d300fb1 100644 --- a/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj +++ b/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj @@ -1,42 +1,40 @@ - - - - x64;AnyCPU;x86 - - - - net48;net6.0;net7.0;net8.0 - false - Webserver.API.UnitTests - Webserver.API.UnitTests - - - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - - - - - - - - - - - - - - - - - - - - + + + + x64;AnyCPU;x86 + + + + net48;net6.0;net7.0;net8.0 + false + Webserver.API.UnitTests + Webserver.API.UnitTests + + + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + + + + + + + + + + + + + + + + \ No newline at end of file