diff --git a/benchmarks/AutoClusterBenchmark/AutoClusterBenchmark.csproj b/benchmarks/AutoClusterBenchmark/AutoClusterBenchmark.csproj index c4351e0133..be7f350b86 100644 --- a/benchmarks/AutoClusterBenchmark/AutoClusterBenchmark.csproj +++ b/benchmarks/AutoClusterBenchmark/AutoClusterBenchmark.csproj @@ -25,10 +25,10 @@ - + - + diff --git a/benchmarks/ClusterBenchmark/ClusterBenchmark.csproj b/benchmarks/ClusterBenchmark/ClusterBenchmark.csproj index b9748f4d8c..a97e51843a 100644 --- a/benchmarks/ClusterBenchmark/ClusterBenchmark.csproj +++ b/benchmarks/ClusterBenchmark/ClusterBenchmark.csproj @@ -20,10 +20,10 @@ - + - + diff --git a/benchmarks/ClusterMicroBenchmarks/ClusterMicroBenchmarks.csproj b/benchmarks/ClusterMicroBenchmarks/ClusterMicroBenchmarks.csproj index 9c6901854f..3ec657f160 100644 --- a/benchmarks/ClusterMicroBenchmarks/ClusterMicroBenchmarks.csproj +++ b/benchmarks/ClusterMicroBenchmarks/ClusterMicroBenchmarks.csproj @@ -7,7 +7,7 @@ - + diff --git a/benchmarks/GossipBenchmark/Messages/Messages.csproj b/benchmarks/GossipBenchmark/Messages/Messages.csproj index d043a84200..afbafb4e8d 100644 --- a/benchmarks/GossipBenchmark/Messages/Messages.csproj +++ b/benchmarks/GossipBenchmark/Messages/Messages.csproj @@ -5,8 +5,8 @@ net6.0;net7.0 - - + + diff --git a/benchmarks/MailboxBenchmark/MailboxBenchmark.csproj b/benchmarks/MailboxBenchmark/MailboxBenchmark.csproj index f6552d0143..5c5fd833c0 100644 --- a/benchmarks/MailboxBenchmark/MailboxBenchmark.csproj +++ b/benchmarks/MailboxBenchmark/MailboxBenchmark.csproj @@ -7,6 +7,6 @@ - + \ No newline at end of file diff --git a/benchmarks/ProtoActorBenchmarks/ProtoActorBenchmarks.csproj b/benchmarks/ProtoActorBenchmarks/ProtoActorBenchmarks.csproj index 0d3bb5aafb..c6897e67fd 100644 --- a/benchmarks/ProtoActorBenchmarks/ProtoActorBenchmarks.csproj +++ b/benchmarks/ProtoActorBenchmarks/ProtoActorBenchmarks.csproj @@ -7,7 +7,7 @@ true - + diff --git a/benchmarks/RemoteBenchmark/Messages/Messages.csproj b/benchmarks/RemoteBenchmark/Messages/Messages.csproj index fa1ad6b5bc..13e13657c5 100644 --- a/benchmarks/RemoteBenchmark/Messages/Messages.csproj +++ b/benchmarks/RemoteBenchmark/Messages/Messages.csproj @@ -4,9 +4,9 @@ net6.0;net7.0 - + - + diff --git a/benchmarks/SkyriseMini/Client/SkyriseMiniClient.csproj b/benchmarks/SkyriseMini/Client/SkyriseMiniClient.csproj index b6a5092ffa..8bfa93b0c2 100644 --- a/benchmarks/SkyriseMini/Client/SkyriseMiniClient.csproj +++ b/benchmarks/SkyriseMini/Client/SkyriseMiniClient.csproj @@ -18,7 +18,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/benchmarks/SkyriseMini/Server/SkyriseMiniServer.csproj b/benchmarks/SkyriseMini/Server/SkyriseMiniServer.csproj index c662e73d26..59b50b00ce 100644 --- a/benchmarks/SkyriseMini/Server/SkyriseMiniServer.csproj +++ b/benchmarks/SkyriseMini/Server/SkyriseMiniServer.csproj @@ -18,7 +18,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/ActorMetrics/ActorMetrics.csproj b/examples/ActorMetrics/ActorMetrics.csproj index d2cba946b7..5c75896da5 100644 --- a/examples/ActorMetrics/ActorMetrics.csproj +++ b/examples/ActorMetrics/ActorMetrics.csproj @@ -6,7 +6,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/AspNetGrains/Messages/Messages.csproj b/examples/AspNetGrains/Messages/Messages.csproj index edd652e5ef..e447f88330 100644 --- a/examples/AspNetGrains/Messages/Messages.csproj +++ b/examples/AspNetGrains/Messages/Messages.csproj @@ -4,8 +4,8 @@ net6.0 - - + + diff --git a/examples/Chat/Messages/Chat.Messages.csproj b/examples/Chat/Messages/Chat.Messages.csproj index d6458da007..7981caf094 100644 --- a/examples/Chat/Messages/Chat.Messages.csproj +++ b/examples/Chat/Messages/Chat.Messages.csproj @@ -3,7 +3,7 @@ net6.0 - + diff --git a/examples/ClusterGrainHelloWorld/Messages/Messages.csproj b/examples/ClusterGrainHelloWorld/Messages/Messages.csproj index edd652e5ef..e447f88330 100644 --- a/examples/ClusterGrainHelloWorld/Messages/Messages.csproj +++ b/examples/ClusterGrainHelloWorld/Messages/Messages.csproj @@ -4,8 +4,8 @@ net6.0 - - + + diff --git a/examples/ClusterPubSub/ClusterPubSub.csproj b/examples/ClusterPubSub/ClusterPubSub.csproj index 4a95796383..fb5ffd2cfc 100644 --- a/examples/ClusterPubSub/ClusterPubSub.csproj +++ b/examples/ClusterPubSub/ClusterPubSub.csproj @@ -10,8 +10,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/ClusterPubSubBatchingProducer/ClusterPubSubBatchingProducer.csproj b/examples/ClusterPubSubBatchingProducer/ClusterPubSubBatchingProducer.csproj index 1c9ed793b5..7c8b38fa62 100644 --- a/examples/ClusterPubSubBatchingProducer/ClusterPubSubBatchingProducer.csproj +++ b/examples/ClusterPubSubBatchingProducer/ClusterPubSubBatchingProducer.csproj @@ -12,8 +12,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/EventStreamTopicsCluster/EventStreamTopicsCluster.csproj b/examples/EventStreamTopicsCluster/EventStreamTopicsCluster.csproj index a5c80a3c43..ab04c25c51 100644 --- a/examples/EventStreamTopicsCluster/EventStreamTopicsCluster.csproj +++ b/examples/EventStreamTopicsCluster/EventStreamTopicsCluster.csproj @@ -13,7 +13,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/KafkaVirtualActorIngress/KafkaVirtualActorIngress.csproj b/examples/KafkaVirtualActorIngress/KafkaVirtualActorIngress.csproj index 06b374b714..e97b6cc8e6 100644 --- a/examples/KafkaVirtualActorIngress/KafkaVirtualActorIngress.csproj +++ b/examples/KafkaVirtualActorIngress/KafkaVirtualActorIngress.csproj @@ -15,8 +15,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Persistence/Messages/Messages.csproj b/examples/Persistence/Messages/Messages.csproj index bc887776ec..904fe76ff7 100644 --- a/examples/Persistence/Messages/Messages.csproj +++ b/examples/Persistence/Messages/Messages.csproj @@ -3,9 +3,9 @@ net6.0 - + - + diff --git a/src/Directory.Build.props b/src/Directory.Build.props index fa63239fc8..755e7e522f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -17,9 +17,13 @@ - + - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/Proto.Actor/Proto.Actor.csproj b/src/Proto.Actor/Proto.Actor.csproj index 3bccc2f9c4..6e6587c18b 100644 --- a/src/Proto.Actor/Proto.Actor.csproj +++ b/src/Proto.Actor/Proto.Actor.csproj @@ -9,21 +9,15 @@ - - + + - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Cluster.AmazonECS/Proto.Cluster.AmazonECS.csproj b/src/Proto.Cluster.AmazonECS/Proto.Cluster.AmazonECS.csproj index 61cfb165ab..c44b0156a6 100644 --- a/src/Proto.Cluster.AmazonECS/Proto.Cluster.AmazonECS.csproj +++ b/src/Proto.Cluster.AmazonECS/Proto.Cluster.AmazonECS.csproj @@ -7,9 +7,7 @@ - - - + diff --git a/src/Proto.Cluster.CodeGen/Proto.Cluster.CodeGen.csproj b/src/Proto.Cluster.CodeGen/Proto.Cluster.CodeGen.csproj index 4dcaf6cb5a..ddc72c413e 100644 --- a/src/Proto.Cluster.CodeGen/Proto.Cluster.CodeGen.csproj +++ b/src/Proto.Cluster.CodeGen/Proto.Cluster.CodeGen.csproj @@ -27,19 +27,12 @@ - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/src/Proto.Cluster.Consul/Proto.Cluster.Consul.csproj b/src/Proto.Cluster.Consul/Proto.Cluster.Consul.csproj index 6eb23aa557..0a8f0d56b3 100644 --- a/src/Proto.Cluster.Consul/Proto.Cluster.Consul.csproj +++ b/src/Proto.Cluster.Consul/Proto.Cluster.Consul.csproj @@ -6,12 +6,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Cluster.Dashboard/Proto.Cluster.Dashboard.csproj b/src/Proto.Cluster.Dashboard/Proto.Cluster.Dashboard.csproj index 0588782fe9..b36b3c1f16 100644 --- a/src/Proto.Cluster.Dashboard/Proto.Cluster.Dashboard.csproj +++ b/src/Proto.Cluster.Dashboard/Proto.Cluster.Dashboard.csproj @@ -8,14 +8,8 @@ net6.0 - - - - - - diff --git a/src/Proto.Cluster.Identity.MongoDb/Proto.Cluster.Identity.MongoDb.csproj b/src/Proto.Cluster.Identity.MongoDb/Proto.Cluster.Identity.MongoDb.csproj index 539b912885..4ba0e4297b 100644 --- a/src/Proto.Cluster.Identity.MongoDb/Proto.Cluster.Identity.MongoDb.csproj +++ b/src/Proto.Cluster.Identity.MongoDb/Proto.Cluster.Identity.MongoDb.csproj @@ -12,12 +12,7 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + diff --git a/src/Proto.Cluster.Identity.Redis/Proto.Cluster.Identity.Redis.csproj b/src/Proto.Cluster.Identity.Redis/Proto.Cluster.Identity.Redis.csproj index 27bd7e8fd1..802dbb9871 100644 --- a/src/Proto.Cluster.Identity.Redis/Proto.Cluster.Identity.Redis.csproj +++ b/src/Proto.Cluster.Identity.Redis/Proto.Cluster.Identity.Redis.csproj @@ -11,13 +11,7 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Cluster.Kubernetes/Proto.Cluster.Kubernetes.csproj b/src/Proto.Cluster.Kubernetes/Proto.Cluster.Kubernetes.csproj index 12c5588084..c5ac4f5634 100644 --- a/src/Proto.Cluster.Kubernetes/Proto.Cluster.Kubernetes.csproj +++ b/src/Proto.Cluster.Kubernetes/Proto.Cluster.Kubernetes.csproj @@ -8,12 +8,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Cluster.TestProvider/Proto.Cluster.TestProvider.csproj b/src/Proto.Cluster.TestProvider/Proto.Cluster.TestProvider.csproj index a8b93e170d..59510de853 100644 --- a/src/Proto.Cluster.TestProvider/Proto.Cluster.TestProvider.csproj +++ b/src/Proto.Cluster.TestProvider/Proto.Cluster.TestProvider.csproj @@ -6,12 +6,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Cluster/Proto.Cluster.csproj b/src/Proto.Cluster/Proto.Cluster.csproj index c113ad5b5a..22208c0fe7 100644 --- a/src/Proto.Cluster/Proto.Cluster.csproj +++ b/src/Proto.Cluster/Proto.Cluster.csproj @@ -7,13 +7,7 @@ netcoreapp3.1;net6.0;net7.0 - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + diff --git a/src/Proto.OpenTelemetry/OpenTelemetryDecorators.cs b/src/Proto.OpenTelemetry/OpenTelemetryDecorators.cs index 9ccfb41498..0a491acdf3 100644 --- a/src/Proto.OpenTelemetry/OpenTelemetryDecorators.cs +++ b/src/Proto.OpenTelemetry/OpenTelemetryDecorators.cs @@ -116,7 +116,7 @@ public override void Respond(object message)=> public override void ReenterAfter(Task target, Action action) { var current = Activity.Current?.Context ?? default; - var message = base.Message; + var message = base.Message!; var a2 = () => { using var x = OpenTelemetryHelpers.BuildStartedActivity(current, Source, nameof(ReenterAfter), message, @@ -130,7 +130,7 @@ public override void ReenterAfter(Task target, Action action) public override void ReenterAfter(Task target, Func, Task> action) { var current = Activity.Current?.Context ?? default; - var message = base.Message; + var message = base.Message!; Func, Task> a2 = async t => { using var x = OpenTelemetryHelpers.BuildStartedActivity(current, Source, nameof(ReenterAfter), message, diff --git a/src/Proto.OpenTelemetry/Proto.OpenTelemetry.csproj b/src/Proto.OpenTelemetry/Proto.OpenTelemetry.csproj index 614fc59b16..ba69c34ddb 100644 --- a/src/Proto.OpenTelemetry/Proto.OpenTelemetry.csproj +++ b/src/Proto.OpenTelemetry/Proto.OpenTelemetry.csproj @@ -7,12 +7,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Persistence.Couchbase/Proto.Persistence.Couchbase.csproj b/src/Proto.Persistence.Couchbase/Proto.Persistence.Couchbase.csproj index fa5face3fd..85be8d950c 100644 --- a/src/Proto.Persistence.Couchbase/Proto.Persistence.Couchbase.csproj +++ b/src/Proto.Persistence.Couchbase/Proto.Persistence.Couchbase.csproj @@ -4,12 +4,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Persistence.DynamoDB/Proto.Persistence.DynamoDB.csproj b/src/Proto.Persistence.DynamoDB/Proto.Persistence.DynamoDB.csproj index 3d7100591d..ef51290f6d 100644 --- a/src/Proto.Persistence.DynamoDB/Proto.Persistence.DynamoDB.csproj +++ b/src/Proto.Persistence.DynamoDB/Proto.Persistence.DynamoDB.csproj @@ -3,13 +3,7 @@ netstandard2.1;net6.0;net7.0 - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + diff --git a/src/Proto.Persistence.Marten/Proto.Persistence.Marten.csproj b/src/Proto.Persistence.Marten/Proto.Persistence.Marten.csproj index d87e912e79..25e91b4763 100644 --- a/src/Proto.Persistence.Marten/Proto.Persistence.Marten.csproj +++ b/src/Proto.Persistence.Marten/Proto.Persistence.Marten.csproj @@ -4,12 +4,7 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + diff --git a/src/Proto.Persistence.MongoDB/Proto.Persistence.MongoDB.csproj b/src/Proto.Persistence.MongoDB/Proto.Persistence.MongoDB.csproj index c57f9faf0f..5704a48947 100644 --- a/src/Proto.Persistence.MongoDB/Proto.Persistence.MongoDB.csproj +++ b/src/Proto.Persistence.MongoDB/Proto.Persistence.MongoDB.csproj @@ -4,12 +4,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Persistence.RavenDB/Proto.Persistence.RavenDB.csproj b/src/Proto.Persistence.RavenDB/Proto.Persistence.RavenDB.csproj index a55e916c0d..27f9a26518 100644 --- a/src/Proto.Persistence.RavenDB/Proto.Persistence.RavenDB.csproj +++ b/src/Proto.Persistence.RavenDB/Proto.Persistence.RavenDB.csproj @@ -4,12 +4,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/src/Proto.Persistence.SqlServer/Proto.Persistence.SqlServer.csproj b/src/Proto.Persistence.SqlServer/Proto.Persistence.SqlServer.csproj index 28af585dd0..cc20934941 100644 --- a/src/Proto.Persistence.SqlServer/Proto.Persistence.SqlServer.csproj +++ b/src/Proto.Persistence.SqlServer/Proto.Persistence.SqlServer.csproj @@ -3,14 +3,8 @@ netstandard2.1;net6.0;net7.0 - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + diff --git a/src/Proto.Persistence.Sqlite/Proto.Persistence.Sqlite.csproj b/src/Proto.Persistence.Sqlite/Proto.Persistence.Sqlite.csproj index 3adb4c9d2d..ead919c7da 100644 --- a/src/Proto.Persistence.Sqlite/Proto.Persistence.Sqlite.csproj +++ b/src/Proto.Persistence.Sqlite/Proto.Persistence.Sqlite.csproj @@ -3,14 +3,8 @@ netstandard2.1;net6.0;net7.0 - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + diff --git a/src/Proto.Persistence/Proto.Persistence.csproj b/src/Proto.Persistence/Proto.Persistence.csproj index c297aba180..2a59053625 100644 --- a/src/Proto.Persistence/Proto.Persistence.csproj +++ b/src/Proto.Persistence/Proto.Persistence.csproj @@ -6,11 +6,5 @@ netstandard2.1;net6.0;net7.0 - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - \ No newline at end of file diff --git a/src/Proto.Remote/Proto.Remote.csproj b/src/Proto.Remote/Proto.Remote.csproj index 84f9738ec5..76246d44fe 100644 --- a/src/Proto.Remote/Proto.Remote.csproj +++ b/src/Proto.Remote/Proto.Remote.csproj @@ -8,18 +8,12 @@ - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + - - diff --git a/src/Proto.TestKit/Proto.TestKit.csproj b/src/Proto.TestKit/Proto.TestKit.csproj index f162a06e85..dd8f0f083a 100644 --- a/src/Proto.TestKit/Proto.TestKit.csproj +++ b/src/Proto.TestKit/Proto.TestKit.csproj @@ -11,7 +11,5 @@ - - \ No newline at end of file diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 8416518a16..3e2afaec2c 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -13,6 +13,14 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + \ No newline at end of file diff --git a/tests/Proto.Actor.Tests/Proto.Actor.Tests.csproj b/tests/Proto.Actor.Tests/Proto.Actor.Tests.csproj index a68550b045..2ab6efb47f 100644 --- a/tests/Proto.Actor.Tests/Proto.Actor.Tests.csproj +++ b/tests/Proto.Actor.Tests/Proto.Actor.Tests.csproj @@ -11,14 +11,4 @@ - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - \ No newline at end of file diff --git a/tests/Proto.Cluster.CodeGen.Tests/Proto.Cluster.CodeGen.Tests.csproj b/tests/Proto.Cluster.CodeGen.Tests/Proto.Cluster.CodeGen.Tests.csproj index 41b8a218d9..73f3f07f12 100644 --- a/tests/Proto.Cluster.CodeGen.Tests/Proto.Cluster.CodeGen.Tests.csproj +++ b/tests/Proto.Cluster.CodeGen.Tests/Proto.Cluster.CodeGen.Tests.csproj @@ -7,16 +7,8 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.Cluster.Identity.Tests/Proto.Cluster.Identity.Tests.csproj b/tests/Proto.Cluster.Identity.Tests/Proto.Cluster.Identity.Tests.csproj index 5b2be1ff79..096597d484 100644 --- a/tests/Proto.Cluster.Identity.Tests/Proto.Cluster.Identity.Tests.csproj +++ b/tests/Proto.Cluster.Identity.Tests/Proto.Cluster.Identity.Tests.csproj @@ -14,14 +14,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.Cluster.MongoIdentity.Tests/Proto.Cluster.MongoIdentity.Tests.csproj b/tests/Proto.Cluster.MongoIdentity.Tests/Proto.Cluster.MongoIdentity.Tests.csproj index b63591c71d..5b52a1575e 100644 --- a/tests/Proto.Cluster.MongoIdentity.Tests/Proto.Cluster.MongoIdentity.Tests.csproj +++ b/tests/Proto.Cluster.MongoIdentity.Tests/Proto.Cluster.MongoIdentity.Tests.csproj @@ -15,14 +15,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.Cluster.PartitionIdentity.Tests/Proto.Cluster.PartitionIdentity.Tests.csproj b/tests/Proto.Cluster.PartitionIdentity.Tests/Proto.Cluster.PartitionIdentity.Tests.csproj index a249f1b95b..33306e7119 100644 --- a/tests/Proto.Cluster.PartitionIdentity.Tests/Proto.Cluster.PartitionIdentity.Tests.csproj +++ b/tests/Proto.Cluster.PartitionIdentity.Tests/Proto.Cluster.PartitionIdentity.Tests.csproj @@ -9,10 +9,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Proto.Cluster.PubSub.Tests/Proto.Cluster.PubSub.Tests.csproj b/tests/Proto.Cluster.PubSub.Tests/Proto.Cluster.PubSub.Tests.csproj index 79cadc7119..618765417c 100644 --- a/tests/Proto.Cluster.PubSub.Tests/Proto.Cluster.PubSub.Tests.csproj +++ b/tests/Proto.Cluster.PubSub.Tests/Proto.Cluster.PubSub.Tests.csproj @@ -11,10 +11,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.Cluster.PubSub.Tests/PubSubBatchingProducerTests.cs b/tests/Proto.Cluster.PubSub.Tests/PubSubBatchingProducerTests.cs index 20ad2451ac..7054649995 100644 --- a/tests/Proto.Cluster.PubSub.Tests/PubSubBatchingProducerTests.cs +++ b/tests/Proto.Cluster.PubSub.Tests/PubSubBatchingProducerTests.cs @@ -364,5 +364,16 @@ private record TestMessage(int Number); [SuppressMessage("Design", "CA1064:Exceptions should be public")] private class TestException : Exception { + public TestException() : base() + { + } + + public TestException(string? message) : base(message) + { + } + + public TestException(string? message, Exception? innerException) : base(message, innerException) + { + } } } diff --git a/tests/Proto.Cluster.RedisIdentity.Tests/Proto.Cluster.RedisIdentity.Tests.csproj b/tests/Proto.Cluster.RedisIdentity.Tests/Proto.Cluster.RedisIdentity.Tests.csproj index a9f4d9b8ae..17b68a4a58 100644 --- a/tests/Proto.Cluster.RedisIdentity.Tests/Proto.Cluster.RedisIdentity.Tests.csproj +++ b/tests/Proto.Cluster.RedisIdentity.Tests/Proto.Cluster.RedisIdentity.Tests.csproj @@ -14,14 +14,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.Cluster.Tests/ClusterTests.cs b/tests/Proto.Cluster.Tests/ClusterTests.cs index b562b633ee..9f95d42b76 100644 --- a/tests/Proto.Cluster.Tests/ClusterTests.cs +++ b/tests/Proto.Cluster.Tests/ClusterTests.cs @@ -239,7 +239,7 @@ await Trace(async () => var ingressNodes = new[] { Members[0], Members[1] }; var victim = Members[2]; - var ids = Enumerable.Range(1, 20).Select(id => id.ToString()).ToList(); + var ids = Enumerable.Range(1, 3).Select(id => id.ToString()).ToList(); var cts = new CancellationTokenSource(); @@ -252,12 +252,12 @@ await Trace(async () => } ); - await Task.Delay(2000); + await Task.Delay(1000); _testOutputHelper.WriteLine("Terminating node"); await ClusterFixture.RemoveNode(victim); _testOutputHelper.WriteLine("Spawning node"); await ClusterFixture.SpawnNode(); - await Task.Delay(2000); + await Task.Delay(1000); cts.Cancel(); await worker; }, _testOutputHelper); diff --git a/tests/Proto.Cluster.Tests/Proto.Cluster.Tests.csproj b/tests/Proto.Cluster.Tests/Proto.Cluster.Tests.csproj index 1abca1ae76..28ec51c263 100644 --- a/tests/Proto.Cluster.Tests/Proto.Cluster.Tests.csproj +++ b/tests/Proto.Cluster.Tests/Proto.Cluster.Tests.csproj @@ -13,19 +13,11 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.OpenTelemetry.Tests/Proto.OpenTelemetry.Tests.csproj b/tests/Proto.OpenTelemetry.Tests/Proto.OpenTelemetry.Tests.csproj index 2c445bacd8..adf27f2fef 100644 --- a/tests/Proto.OpenTelemetry.Tests/Proto.OpenTelemetry.Tests.csproj +++ b/tests/Proto.OpenTelemetry.Tests/Proto.OpenTelemetry.Tests.csproj @@ -9,11 +9,7 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Proto.Persistence.Tests/Proto.Persistence.Tests.csproj b/tests/Proto.Persistence.Tests/Proto.Persistence.Tests.csproj index b46d73a457..1382accb66 100644 --- a/tests/Proto.Persistence.Tests/Proto.Persistence.Tests.csproj +++ b/tests/Proto.Persistence.Tests/Proto.Persistence.Tests.csproj @@ -4,15 +4,7 @@ netcoreapp3.1;net6.0;net7.0 - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Proto.Remote.Tests.Messages/Proto.Remote.Tests.Messages.csproj b/tests/Proto.Remote.Tests.Messages/Proto.Remote.Tests.Messages.csproj index a8cc94f0c2..e0385ca1e9 100644 --- a/tests/Proto.Remote.Tests.Messages/Proto.Remote.Tests.Messages.csproj +++ b/tests/Proto.Remote.Tests.Messages/Proto.Remote.Tests.Messages.csproj @@ -6,11 +6,7 @@ netcoreapp3.1;net6.0;net7.0 - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Proto.Remote.Tests/Proto.Remote.Tests.csproj b/tests/Proto.Remote.Tests/Proto.Remote.Tests.csproj index ae64691234..9285148f56 100644 --- a/tests/Proto.Remote.Tests/Proto.Remote.Tests.csproj +++ b/tests/Proto.Remote.Tests/Proto.Remote.Tests.csproj @@ -5,14 +5,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/tests/Proto.TestFixtures/Proto.TestFixtures.csproj b/tests/Proto.TestFixtures/Proto.TestFixtures.csproj index 5d751cd38c..225ee5e832 100644 --- a/tests/Proto.TestFixtures/Proto.TestFixtures.csproj +++ b/tests/Proto.TestFixtures/Proto.TestFixtures.csproj @@ -14,10 +14,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive -