diff --git a/AsbCloudDb/AsbCloudDb.csproj b/AsbCloudDb/AsbCloudDb.csproj
index 16b1354f..9d62fdaf 100644
--- a/AsbCloudDb/AsbCloudDb.csproj
+++ b/AsbCloudDb/AsbCloudDb.csproj
@@ -6,11 +6,11 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/AsbCloudInfrastructure/AsbCloudInfrastructure.csproj b/AsbCloudInfrastructure/AsbCloudInfrastructure.csproj
index a1816762..dbaa1e65 100644
--- a/AsbCloudInfrastructure/AsbCloudInfrastructure.csproj
+++ b/AsbCloudInfrastructure/AsbCloudInfrastructure.csproj
@@ -49,17 +49,17 @@
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/AsbCloudInfrastructure/Repository/ProcessMapPlanRepository.cs b/AsbCloudInfrastructure/Repository/ProcessMapPlanRepository.cs
index 1e5a8403..a2a78659 100644
--- a/AsbCloudInfrastructure/Repository/ProcessMapPlanRepository.cs
+++ b/AsbCloudInfrastructure/Repository/ProcessMapPlanRepository.cs
@@ -10,7 +10,6 @@ using AsbCloudApp.Services;
using AsbCloudDb.Model;
using AsbCloudDb.Model.ProcessMaps;
using Microsoft.EntityFrameworkCore;
-using Org.BouncyCastle.Asn1.Ocsp;
namespace AsbCloudInfrastructure.Repository;
diff --git a/AsbCloudWebApi.IntegrationTests/AsbCloudWebApi.IntegrationTests.csproj b/AsbCloudWebApi.IntegrationTests/AsbCloudWebApi.IntegrationTests.csproj
index 1824d4ce..5946859b 100644
--- a/AsbCloudWebApi.IntegrationTests/AsbCloudWebApi.IntegrationTests.csproj
+++ b/AsbCloudWebApi.IntegrationTests/AsbCloudWebApi.IntegrationTests.csproj
@@ -4,15 +4,16 @@
net6.0
enable
enable
+ af52bb94-3f08-4d6a-8895-8cfb7691c393
-
-
-
+
+
+
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/AsbCloudWebApi.IntegrationTests/MatchHelper.cs b/AsbCloudWebApi.IntegrationTests/MatchHelper.cs
index 6a8704f8..9bd8dfa9 100644
--- a/AsbCloudWebApi.IntegrationTests/MatchHelper.cs
+++ b/AsbCloudWebApi.IntegrationTests/MatchHelper.cs
@@ -8,10 +8,10 @@ public static class MatchHelper
public static void Match(T expected, T actual, IEnumerable? excludeProps = null)
{
if (ReferenceEquals(expected, actual))
- throw new EqualException(expected, actual);
+ throw EqualException.ForMismatchedValues(expected, actual);
if (expected is null || actual is null)
- throw new EqualException(expected, actual);
+ throw EqualException.ForMismatchedValues(expected, actual);
var props = typeof(T).GetProperties(
BindingFlags.Public
@@ -25,7 +25,7 @@ public static class MatchHelper
var objValue = prop.GetValue(expected);
var anotherValue = prop.GetValue(actual);
if (objValue != null && !objValue.Equals(anotherValue))
- throw new EqualException(expected, actual);
+ throw EqualException.ForMismatchedValues(expected, actual);
}
}
}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Middlware/UserConnectionsLimitMiddlwareTest.cs b/AsbCloudWebApi.IntegrationTests/Middlware/UserConnectionsLimitMiddlwareTest.cs
index 1bb5731d..ee1ebe1c 100644
--- a/AsbCloudWebApi.IntegrationTests/Middlware/UserConnectionsLimitMiddlwareTest.cs
+++ b/AsbCloudWebApi.IntegrationTests/Middlware/UserConnectionsLimitMiddlwareTest.cs
@@ -145,7 +145,7 @@ namespace AsbCloudWebApi.IntegrationTests.Middlware
return httpClient;
}
- private static IServiceCollection ReplaceService(this IServiceCollection services, T instance)
+ private static IServiceCollection ReplaceService(IServiceCollection services, T instance)
where T : notnull
{
var typeofT = typeof(T);
diff --git a/AsbCloudWebApi.Tests/AsbCloudWebApi.Tests.csproj b/AsbCloudWebApi.Tests/AsbCloudWebApi.Tests.csproj
index 06d8d055..b538cf94 100644
--- a/AsbCloudWebApi.Tests/AsbCloudWebApi.Tests.csproj
+++ b/AsbCloudWebApi.Tests/AsbCloudWebApi.Tests.csproj
@@ -19,11 +19,11 @@
-
-
+
+
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/AsbCloudWebApi/AsbCloudWebApi.csproj b/AsbCloudWebApi/AsbCloudWebApi.csproj
index 8c9b17b8..05ca9173 100644
--- a/AsbCloudWebApi/AsbCloudWebApi.csproj
+++ b/AsbCloudWebApi/AsbCloudWebApi.csproj
@@ -10,13 +10,16 @@
-
-
-
-
-
-
-
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+