diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj index 846a50f1ec..bd1338bb9d 100644 --- a/src/Core/Core.csproj +++ b/src/Core/Core.csproj @@ -75,7 +75,7 @@ - + diff --git a/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs b/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs index 4e42c20267..628082470c 100644 --- a/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs +++ b/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs @@ -1,4 +1,4 @@ -#if NET47 +#if NET471 using System; using System.Threading.Tasks; using Bit.Core.Models.Table; diff --git a/src/Core/Services/Implementations/NotificationHubPushRegistrationService.cs b/src/Core/Services/Implementations/NotificationHubPushRegistrationService.cs index be776725bf..b339ae4c44 100644 --- a/src/Core/Services/Implementations/NotificationHubPushRegistrationService.cs +++ b/src/Core/Services/Implementations/NotificationHubPushRegistrationService.cs @@ -1,4 +1,4 @@ -#if NET47 +#if NET471 using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Azure.NotificationHubs; diff --git a/src/Core/Utilities/ServiceCollectionExtensions.cs b/src/Core/Utilities/ServiceCollectionExtensions.cs index fd6d0d7114..9a078982f7 100644 --- a/src/Core/Utilities/ServiceCollectionExtensions.cs +++ b/src/Core/Utilities/ServiceCollectionExtensions.cs @@ -90,7 +90,7 @@ namespace Bit.Core.Utilities services.AddSingleton(); services.AddSingleton(); } -#if NET47 +#if NET471 else if(!globalSettings.SelfHosted) { services.AddSingleton();