diff --git a/Directory.Build.props b/Directory.Build.props index c29c801803..fd1d84e8b0 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -36,8 +36,8 @@ - - + + diff --git a/src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj b/src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj index b7ffb37125..dec33348da 100644 --- a/src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj +++ b/src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj b/src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj index ccb888ee9f..96fea6d2be 100644 --- a/src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj +++ b/src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj b/src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj index db106471e6..1cb02c32e7 100644 --- a/src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj +++ b/src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj b/src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj index 1e92284de5..d06ff995b6 100644 --- a/src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj +++ b/src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Aws.Sns/HealthChecks.Aws.Sns.csproj b/src/HealthChecks.Aws.Sns/HealthChecks.Aws.Sns.csproj index e7e356bfe5..fc2a60bcdb 100644 --- a/src/HealthChecks.Aws.Sns/HealthChecks.Aws.Sns.csproj +++ b/src/HealthChecks.Aws.Sns/HealthChecks.Aws.Sns.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Aws.Sqs/HealthChecks.Aws.Sqs.csproj b/src/HealthChecks.Aws.Sqs/HealthChecks.Aws.Sqs.csproj index e820b7ffbb..a867d1e120 100644 --- a/src/HealthChecks.Aws.Sqs/HealthChecks.Aws.Sqs.csproj +++ b/src/HealthChecks.Aws.Sqs/HealthChecks.Aws.Sqs.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Aws.SystemsManager/HealthChecks.Aws.SystemsManager.csproj b/src/HealthChecks.Aws.SystemsManager/HealthChecks.Aws.SystemsManager.csproj index d9f12ceacd..4f7a849d5e 100644 --- a/src/HealthChecks.Aws.SystemsManager/HealthChecks.Aws.SystemsManager.csproj +++ b/src/HealthChecks.Aws.SystemsManager/HealthChecks.Aws.SystemsManager.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Azure.IoTHub/HealthChecks.Azure.IoTHub.csproj b/src/HealthChecks.Azure.IoTHub/HealthChecks.Azure.IoTHub.csproj index e57c327ef9..211dc0ce43 100644 --- a/src/HealthChecks.Azure.IoTHub/HealthChecks.Azure.IoTHub.csproj +++ b/src/HealthChecks.Azure.IoTHub/HealthChecks.Azure.IoTHub.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj b/src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj index 23088bbad0..129d5b00ff 100644 --- a/src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj +++ b/src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.AzureDigitalTwin/HealthChecks.AzureDigitalTwin.csproj b/src/HealthChecks.AzureDigitalTwin/HealthChecks.AzureDigitalTwin.csproj index 85e7b0945a..fdcb488e9e 100644 --- a/src/HealthChecks.AzureDigitalTwin/HealthChecks.AzureDigitalTwin.csproj +++ b/src/HealthChecks.AzureDigitalTwin/HealthChecks.AzureDigitalTwin.csproj @@ -11,6 +11,6 @@ - + diff --git a/src/HealthChecks.AzureKeyVault/HealthChecks.AzureKeyVault.csproj b/src/HealthChecks.AzureKeyVault/HealthChecks.AzureKeyVault.csproj index 6ecf07c15f..2c89a93e04 100644 --- a/src/HealthChecks.AzureKeyVault/HealthChecks.AzureKeyVault.csproj +++ b/src/HealthChecks.AzureKeyVault/HealthChecks.AzureKeyVault.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/HealthChecks.AzureSearch/HealthChecks.AzureSearch.csproj b/src/HealthChecks.AzureSearch/HealthChecks.AzureSearch.csproj index b825561587..fbe540fc55 100644 --- a/src/HealthChecks.AzureSearch/HealthChecks.AzureSearch.csproj +++ b/src/HealthChecks.AzureSearch/HealthChecks.AzureSearch.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.AzureServiceBus/HealthChecks.AzureServiceBus.csproj b/src/HealthChecks.AzureServiceBus/HealthChecks.AzureServiceBus.csproj index d08a0a7664..ed57c4dd92 100644 --- a/src/HealthChecks.AzureServiceBus/HealthChecks.AzureServiceBus.csproj +++ b/src/HealthChecks.AzureServiceBus/HealthChecks.AzureServiceBus.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/HealthChecks.AzureStorage/HealthChecks.AzureStorage.csproj b/src/HealthChecks.AzureStorage/HealthChecks.AzureStorage.csproj index 24bf2051a0..e84c5f359b 100644 --- a/src/HealthChecks.AzureStorage/HealthChecks.AzureStorage.csproj +++ b/src/HealthChecks.AzureStorage/HealthChecks.AzureStorage.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/HealthChecks.Consul/HealthChecks.Consul.csproj b/src/HealthChecks.Consul/HealthChecks.Consul.csproj index 280d53ea9a..f5380719bd 100644 --- a/src/HealthChecks.Consul/HealthChecks.Consul.csproj +++ b/src/HealthChecks.Consul/HealthChecks.Consul.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.CosmosDb/HealthChecks.CosmosDb.csproj b/src/HealthChecks.CosmosDb/HealthChecks.CosmosDb.csproj index 5654e8c070..4d06819b72 100644 --- a/src/HealthChecks.CosmosDb/HealthChecks.CosmosDb.csproj +++ b/src/HealthChecks.CosmosDb/HealthChecks.CosmosDb.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.DocumentDb/HealthChecks.DocumentDb.csproj b/src/HealthChecks.DocumentDb/HealthChecks.DocumentDb.csproj index f10bf0049a..3b02b8cdd7 100644 --- a/src/HealthChecks.DocumentDb/HealthChecks.DocumentDb.csproj +++ b/src/HealthChecks.DocumentDb/HealthChecks.DocumentDb.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.DynamoDb/HealthChecks.DynamoDb.csproj b/src/HealthChecks.DynamoDb/HealthChecks.DynamoDb.csproj index c1c43a9f4f..4852b16704 100644 --- a/src/HealthChecks.DynamoDb/HealthChecks.DynamoDb.csproj +++ b/src/HealthChecks.DynamoDb/HealthChecks.DynamoDb.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Elasticsearch/HealthChecks.Elasticsearch.csproj b/src/HealthChecks.Elasticsearch/HealthChecks.Elasticsearch.csproj index a207876784..9e4ac6af15 100644 --- a/src/HealthChecks.Elasticsearch/HealthChecks.Elasticsearch.csproj +++ b/src/HealthChecks.Elasticsearch/HealthChecks.Elasticsearch.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.EventStore.gRPC/HealthChecks.EventStore.gRPC.csproj b/src/HealthChecks.EventStore.gRPC/HealthChecks.EventStore.gRPC.csproj index 439fecc840..2cc7461871 100644 --- a/src/HealthChecks.EventStore.gRPC/HealthChecks.EventStore.gRPC.csproj +++ b/src/HealthChecks.EventStore.gRPC/HealthChecks.EventStore.gRPC.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.EventStore/HealthChecks.EventStore.csproj b/src/HealthChecks.EventStore/HealthChecks.EventStore.csproj index 39cb101da8..902c51330b 100644 --- a/src/HealthChecks.EventStore/HealthChecks.EventStore.csproj +++ b/src/HealthChecks.EventStore/HealthChecks.EventStore.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Gcp.CloudFirestore/HealthChecks.Gcp.CloudFirestore.csproj b/src/HealthChecks.Gcp.CloudFirestore/HealthChecks.Gcp.CloudFirestore.csproj index d7e87d31ad..864628b0a9 100644 --- a/src/HealthChecks.Gcp.CloudFirestore/HealthChecks.Gcp.CloudFirestore.csproj +++ b/src/HealthChecks.Gcp.CloudFirestore/HealthChecks.Gcp.CloudFirestore.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/HealthChecks.Gremlin/HealthChecks.Gremlin.csproj b/src/HealthChecks.Gremlin/HealthChecks.Gremlin.csproj index 6d39cba19d..9e109d71b5 100644 --- a/src/HealthChecks.Gremlin/HealthChecks.Gremlin.csproj +++ b/src/HealthChecks.Gremlin/HealthChecks.Gremlin.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Hangfire/HealthChecks.Hangfire.csproj b/src/HealthChecks.Hangfire/HealthChecks.Hangfire.csproj index 0f9261922c..a8b6d330f1 100644 --- a/src/HealthChecks.Hangfire/HealthChecks.Hangfire.csproj +++ b/src/HealthChecks.Hangfire/HealthChecks.Hangfire.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.IbmMQ/HealthChecks.IbmMQ.csproj b/src/HealthChecks.IbmMQ/HealthChecks.IbmMQ.csproj index 8161b6027c..066a54215a 100644 --- a/src/HealthChecks.IbmMQ/HealthChecks.IbmMQ.csproj +++ b/src/HealthChecks.IbmMQ/HealthChecks.IbmMQ.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.InfluxDB/HealthChecks.InfluxDB.csproj b/src/HealthChecks.InfluxDB/HealthChecks.InfluxDB.csproj index af10e85c17..8f22b054fe 100644 --- a/src/HealthChecks.InfluxDB/HealthChecks.InfluxDB.csproj +++ b/src/HealthChecks.InfluxDB/HealthChecks.InfluxDB.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Kafka/HealthChecks.Kafka.csproj b/src/HealthChecks.Kafka/HealthChecks.Kafka.csproj index 94b6fbf4e0..6fe3cc26ea 100644 --- a/src/HealthChecks.Kafka/HealthChecks.Kafka.csproj +++ b/src/HealthChecks.Kafka/HealthChecks.Kafka.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Kubernetes/HealthChecks.Kubernetes.csproj b/src/HealthChecks.Kubernetes/HealthChecks.Kubernetes.csproj index 3608c5633d..50519f358e 100644 --- a/src/HealthChecks.Kubernetes/HealthChecks.Kubernetes.csproj +++ b/src/HealthChecks.Kubernetes/HealthChecks.Kubernetes.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.MongoDb/HealthChecks.MongoDb.csproj b/src/HealthChecks.MongoDb/HealthChecks.MongoDb.csproj index 77314fe5d4..ce05d9d867 100644 --- a/src/HealthChecks.MongoDb/HealthChecks.MongoDb.csproj +++ b/src/HealthChecks.MongoDb/HealthChecks.MongoDb.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.MySql/HealthChecks.MySql.csproj b/src/HealthChecks.MySql/HealthChecks.MySql.csproj index 3586cf3b0c..20d642e192 100644 --- a/src/HealthChecks.MySql/HealthChecks.MySql.csproj +++ b/src/HealthChecks.MySql/HealthChecks.MySql.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Nats/HealthChecks.Nats.csproj b/src/HealthChecks.Nats/HealthChecks.Nats.csproj index 294f9760ce..d550326360 100644 --- a/src/HealthChecks.Nats/HealthChecks.Nats.csproj +++ b/src/HealthChecks.Nats/HealthChecks.Nats.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.Network/HealthChecks.Network.csproj b/src/HealthChecks.Network/HealthChecks.Network.csproj index ec23c3e593..fae66f0d59 100644 --- a/src/HealthChecks.Network/HealthChecks.Network.csproj +++ b/src/HealthChecks.Network/HealthChecks.Network.csproj @@ -9,10 +9,10 @@ - + - + diff --git a/src/HealthChecks.NpgSql/HealthChecks.NpgSql.csproj b/src/HealthChecks.NpgSql/HealthChecks.NpgSql.csproj index aa18c28dec..062dfa184f 100644 --- a/src/HealthChecks.NpgSql/HealthChecks.NpgSql.csproj +++ b/src/HealthChecks.NpgSql/HealthChecks.NpgSql.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.OpenIdConnectServer/HealthChecks.OpenIdConnectServer.csproj b/src/HealthChecks.OpenIdConnectServer/HealthChecks.OpenIdConnectServer.csproj index dbbd9338f1..e257683450 100644 --- a/src/HealthChecks.OpenIdConnectServer/HealthChecks.OpenIdConnectServer.csproj +++ b/src/HealthChecks.OpenIdConnectServer/HealthChecks.OpenIdConnectServer.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/HealthChecks.Oracle/HealthChecks.Oracle.csproj b/src/HealthChecks.Oracle/HealthChecks.Oracle.csproj index ee0ec5a58b..76de713ec1 100644 --- a/src/HealthChecks.Oracle/HealthChecks.Oracle.csproj +++ b/src/HealthChecks.Oracle/HealthChecks.Oracle.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/HealthChecks.Publisher.ApplicationInsights/ApplicationInsightsPublisher.cs b/src/HealthChecks.Publisher.ApplicationInsights/ApplicationInsightsPublisher.cs index 560f78ffbc..3d5f4469a9 100644 --- a/src/HealthChecks.Publisher.ApplicationInsights/ApplicationInsightsPublisher.cs +++ b/src/HealthChecks.Publisher.ApplicationInsights/ApplicationInsightsPublisher.cs @@ -115,12 +115,13 @@ private TelemetryClient GetOrCreateTelemetryClient() { // Create TelemetryConfiguration // Hierachy: _connectionString > _instrumentationKey > _telemetryConfiguration +#pragma warning disable CS0618 // Type or member is obsolete var configuration = string.IsNullOrWhiteSpace(_connectionString) ? string.IsNullOrWhiteSpace(_instrumentationKey) ? _telemetryConfiguration : new TelemetryConfiguration(_instrumentationKey) : new TelemetryConfiguration { ConnectionString = _connectionString }; - +#pragma warning restore CS0618 // Type or member is obsolete _client = new TelemetryClient(configuration); } diff --git a/src/HealthChecks.Publisher.ApplicationInsights/HealthChecks.Publisher.ApplicationInsights.csproj b/src/HealthChecks.Publisher.ApplicationInsights/HealthChecks.Publisher.ApplicationInsights.csproj index cd4dfe5040..6780fa6e37 100644 --- a/src/HealthChecks.Publisher.ApplicationInsights/HealthChecks.Publisher.ApplicationInsights.csproj +++ b/src/HealthChecks.Publisher.ApplicationInsights/HealthChecks.Publisher.ApplicationInsights.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Publisher.CloudWatch/HealthChecks.Publisher.CloudWatch.csproj b/src/HealthChecks.Publisher.CloudWatch/HealthChecks.Publisher.CloudWatch.csproj index 1439cb44ac..ba5ff9349f 100644 --- a/src/HealthChecks.Publisher.CloudWatch/HealthChecks.Publisher.CloudWatch.csproj +++ b/src/HealthChecks.Publisher.CloudWatch/HealthChecks.Publisher.CloudWatch.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/HealthChecks.Publisher.Datadog/HealthChecks.Publisher.Datadog.csproj b/src/HealthChecks.Publisher.Datadog/HealthChecks.Publisher.Datadog.csproj index 3b61bb84e0..56cf21cadc 100644 --- a/src/HealthChecks.Publisher.Datadog/HealthChecks.Publisher.Datadog.csproj +++ b/src/HealthChecks.Publisher.Datadog/HealthChecks.Publisher.Datadog.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Publisher.Prometheus/HealthChecks.Publisher.Prometheus.csproj b/src/HealthChecks.Publisher.Prometheus/HealthChecks.Publisher.Prometheus.csproj index 26f79d8848..730619a495 100644 --- a/src/HealthChecks.Publisher.Prometheus/HealthChecks.Publisher.Prometheus.csproj +++ b/src/HealthChecks.Publisher.Prometheus/HealthChecks.Publisher.Prometheus.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/HealthChecks.Publisher.Seq/HealthChecks.Publisher.Seq.csproj b/src/HealthChecks.Publisher.Seq/HealthChecks.Publisher.Seq.csproj index f326d519eb..593a20de6b 100644 --- a/src/HealthChecks.Publisher.Seq/HealthChecks.Publisher.Seq.csproj +++ b/src/HealthChecks.Publisher.Seq/HealthChecks.Publisher.Seq.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Rabbitmq/HealthChecks.Rabbitmq.csproj b/src/HealthChecks.Rabbitmq/HealthChecks.Rabbitmq.csproj index 700baad122..c24a57d2ba 100644 --- a/src/HealthChecks.Rabbitmq/HealthChecks.Rabbitmq.csproj +++ b/src/HealthChecks.Rabbitmq/HealthChecks.Rabbitmq.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/HealthChecks.RavenDB/HealthChecks.RavenDB.csproj b/src/HealthChecks.RavenDB/HealthChecks.RavenDB.csproj index 75a7844176..9ab6dd72f1 100644 --- a/src/HealthChecks.RavenDB/HealthChecks.RavenDB.csproj +++ b/src/HealthChecks.RavenDB/HealthChecks.RavenDB.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.Redis/HealthChecks.Redis.csproj b/src/HealthChecks.Redis/HealthChecks.Redis.csproj index 4977629ffa..88f2a5ac96 100644 --- a/src/HealthChecks.Redis/HealthChecks.Redis.csproj +++ b/src/HealthChecks.Redis/HealthChecks.Redis.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.SendGrid/HealthChecks.SendGrid.csproj b/src/HealthChecks.SendGrid/HealthChecks.SendGrid.csproj index b4638b6735..4bb1110267 100644 --- a/src/HealthChecks.SendGrid/HealthChecks.SendGrid.csproj +++ b/src/HealthChecks.SendGrid/HealthChecks.SendGrid.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.SignalR/HealthChecks.SignalR.csproj b/src/HealthChecks.SignalR/HealthChecks.SignalR.csproj index 33a58e4094..91219e9479 100644 --- a/src/HealthChecks.SignalR/HealthChecks.SignalR.csproj +++ b/src/HealthChecks.SignalR/HealthChecks.SignalR.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Solr/HealthChecks.Solr.csproj b/src/HealthChecks.Solr/HealthChecks.Solr.csproj index ae655bb990..e55061a77b 100644 --- a/src/HealthChecks.Solr/HealthChecks.Solr.csproj +++ b/src/HealthChecks.Solr/HealthChecks.Solr.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.SqlServer/HealthChecks.SqlServer.csproj b/src/HealthChecks.SqlServer/HealthChecks.SqlServer.csproj index 5094e50e04..a9cf5e016b 100644 --- a/src/HealthChecks.SqlServer/HealthChecks.SqlServer.csproj +++ b/src/HealthChecks.SqlServer/HealthChecks.SqlServer.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.Sqlite/HealthChecks.Sqlite.csproj b/src/HealthChecks.Sqlite/HealthChecks.Sqlite.csproj index da6573c3e0..92c70ba552 100644 --- a/src/HealthChecks.Sqlite/HealthChecks.Sqlite.csproj +++ b/src/HealthChecks.Sqlite/HealthChecks.Sqlite.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.System/HealthChecks.System.csproj b/src/HealthChecks.System/HealthChecks.System.csproj index 2ebded1b20..1d6154a45a 100644 --- a/src/HealthChecks.System/HealthChecks.System.csproj +++ b/src/HealthChecks.System/HealthChecks.System.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/HealthChecks.UI.Client/HealthChecks.UI.Client.csproj b/src/HealthChecks.UI.Client/HealthChecks.UI.Client.csproj index 8d6be8035b..a5b80de966 100644 --- a/src/HealthChecks.UI.Client/HealthChecks.UI.Client.csproj +++ b/src/HealthChecks.UI.Client/HealthChecks.UI.Client.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.UI.Core/HealthChecks.UI.Core.csproj b/src/HealthChecks.UI.Core/HealthChecks.UI.Core.csproj index 57e124ff61..96e2adafe5 100644 --- a/src/HealthChecks.UI.Core/HealthChecks.UI.Core.csproj +++ b/src/HealthChecks.UI.Core/HealthChecks.UI.Core.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/HealthChecks.UI.Data/HealthChecks.UI.Data.csproj b/src/HealthChecks.UI.Data/HealthChecks.UI.Data.csproj index 223b8ad495..5560cbf6eb 100644 --- a/src/HealthChecks.UI.Data/HealthChecks.UI.Data.csproj +++ b/src/HealthChecks.UI.Data/HealthChecks.UI.Data.csproj @@ -8,7 +8,6 @@ - diff --git a/src/HealthChecks.UI.K8s.Operator/HealthChecks.UI.K8s.Operator.csproj b/src/HealthChecks.UI.K8s.Operator/HealthChecks.UI.K8s.Operator.csproj index 60c6d2e171..e8a0ac8ce9 100644 --- a/src/HealthChecks.UI.K8s.Operator/HealthChecks.UI.K8s.Operator.csproj +++ b/src/HealthChecks.UI.K8s.Operator/HealthChecks.UI.K8s.Operator.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/HealthChecks.UI/HealthChecks.UI.csproj b/src/HealthChecks.UI/HealthChecks.UI.csproj index de9e2996ed..6058582b1f 100644 --- a/src/HealthChecks.UI/HealthChecks.UI.csproj +++ b/src/HealthChecks.UI/HealthChecks.UI.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/HealthChecks.Uris/HealthChecks.Uris.csproj b/src/HealthChecks.Uris/HealthChecks.Uris.csproj index a682220d13..5ea5903a7b 100644 --- a/src/HealthChecks.Uris/HealthChecks.Uris.csproj +++ b/src/HealthChecks.Uris/HealthChecks.Uris.csproj @@ -9,7 +9,7 @@ - + diff --git a/test/HealthChecks.Publisher.ApplicationInsights.Tests/DependencyInjection/RegistrationTests.cs b/test/HealthChecks.Publisher.ApplicationInsights.Tests/DependencyInjection/RegistrationTests.cs index 87260d272e..972aeb61c8 100644 --- a/test/HealthChecks.Publisher.ApplicationInsights.Tests/DependencyInjection/RegistrationTests.cs +++ b/test/HealthChecks.Publisher.ApplicationInsights.Tests/DependencyInjection/RegistrationTests.cs @@ -36,7 +36,9 @@ public void add_healthcheck_when_properly_configured_with_connection_string_para public void add_healthcheck_when_application_insights_is_properly_configured_with_IOptions() { var services = new ServiceCollection(); +#pragma warning disable CS0618 // Type or member is obsolete services.Configure(config => config.InstrumentationKey = "telemetrykey"); +#pragma warning restore CS0618 // Type or member is obsolete services .AddHealthChecks() diff --git a/test/HealthChecks.UI.Client.Tests/HealthChecks.UI.Client.Tests.csproj b/test/HealthChecks.UI.Client.Tests/HealthChecks.UI.Client.Tests.csproj index 7571076b8b..12bba725f3 100644 --- a/test/HealthChecks.UI.Client.Tests/HealthChecks.UI.Client.Tests.csproj +++ b/test/HealthChecks.UI.Client.Tests/HealthChecks.UI.Client.Tests.csproj @@ -7,5 +7,5 @@ - +