diff --git a/Examples/Directory.Build.props b/Examples/Directory.Build.props index a99faa87..d9287d30 100644 --- a/Examples/Directory.Build.props +++ b/Examples/Directory.Build.props @@ -13,6 +13,6 @@ false en - $(NoWarn);NU1902;NU1903 + $(NoWarn);NU1902;NU1903;NU1902 \ No newline at end of file diff --git a/Examples/Directory.Packages.props b/Examples/Directory.Packages.props index a1335ffd..5d7b0820 100644 --- a/Examples/Directory.Packages.props +++ b/Examples/Directory.Packages.props @@ -17,14 +17,14 @@ - - - - + + + + - - + + diff --git a/Sources/Directory.Build.props b/Sources/Directory.Build.props index 953408df..8f1a7a09 100644 --- a/Sources/Directory.Build.props +++ b/Sources/Directory.Build.props @@ -22,7 +22,7 @@ false en - $(NoWarn);NETSDK1210;NETSDK1212 + $(NoWarn);NETSDK1210;NETSDK1212;NU1902 diff --git a/Sources/Directory.Packages.props b/Sources/Directory.Packages.props index 8bdd13cc..91065f00 100644 --- a/Sources/Directory.Packages.props +++ b/Sources/Directory.Packages.props @@ -5,13 +5,13 @@ - - + + - - - - + + + + @@ -33,5 +33,6 @@ + \ No newline at end of file diff --git a/Sources/ServiceModel.Grpc.Core/ServiceModel.Grpc.Core.csproj b/Sources/ServiceModel.Grpc.Core/ServiceModel.Grpc.Core.csproj index dc171b1b..90afd28c 100644 --- a/Sources/ServiceModel.Grpc.Core/ServiceModel.Grpc.Core.csproj +++ b/Sources/ServiceModel.Grpc.Core/ServiceModel.Grpc.Core.csproj @@ -17,6 +17,10 @@ + + + + diff --git a/Sources/ServiceModel.Grpc.DesignTime.Generator.Test/DependenciesTest.cs b/Sources/ServiceModel.Grpc.DesignTime.Generator.Test/DependenciesTest.cs index 4ecd5a9b..5b01ebfa 100644 --- a/Sources/ServiceModel.Grpc.DesignTime.Generator.Test/DependenciesTest.cs +++ b/Sources/ServiceModel.Grpc.DesignTime.Generator.Test/DependenciesTest.cs @@ -20,15 +20,18 @@ namespace ServiceModel.Grpc.DesignTime.Generator.Test; -// https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/10.0/asyncenumerable [TestFixture] public class DependenciesTest { + // NuGet System.Memory 4.5.3: System.Memory.dll Version=4.0.1.1 + // NuGet System.Memory 4.6.3: System.Memory.dll Version=4.0.2.0 + // according to the #423: VS2022 expects 4.0.1.1 + // Grpc.Core.Api 2.83.0 upgrade to 2.84.0: System.Memory 4.5.3 => System.Memory 4.6.3 [Test(Description = "#423: compile with VS2022")] public void System_Memory() { var versions = Collect("System.Memory"); - versions.ShouldBe([new("4.0.1.1")]); + versions.ShouldBe([new("4.0.2.0")]); // 4.0.1.1 is expected by #423, waits for feedback } private static HashSet Collect(string referenceName)