diff --git a/.github/workflows/build.cqrs_flow.dotnet.yml b/.github/workflows/build.cqrs_flow.dotnet.yml index 39a32be..e4684dd 100644 --- a/.github/workflows/build.cqrs_flow.dotnet.yml +++ b/.github/workflows/build.cqrs_flow.dotnet.yml @@ -24,7 +24,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: "5.0.100" + dotnet-version: "5.0.x" - name: Restore NuGet packages run: dotnet restore diff --git a/CQRS_Flow/.NET/Core/Core.Testing/Core.Testing.csproj b/CQRS_Flow/.NET/Core/Core.Testing/Core.Testing.csproj index d0e2685..919a15f 100644 --- a/CQRS_Flow/.NET/Core/Core.Testing/Core.Testing.csproj +++ b/CQRS_Flow/.NET/Core/Core.Testing/Core.Testing.csproj @@ -4,14 +4,14 @@ net5.0 enable true + false - - + diff --git a/CQRS_Flow/.NET/Core/Core.Testing/SerializationExtensions.cs b/CQRS_Flow/.NET/Core/Core.Testing/SerializationExtensions.cs index 32f93aa..429e593 100644 --- a/CQRS_Flow/.NET/Core/Core.Testing/SerializationExtensions.cs +++ b/CQRS_Flow/.NET/Core/Core.Testing/SerializationExtensions.cs @@ -14,7 +14,7 @@ public static class SerializationExtensions /// deserialized object public static T FromJson(this string json) { - return JsonConvert.DeserializeObject(json); + return JsonConvert.DeserializeObject(json)!; } ///