From 46c36dc885814220eeee2bc94b28819bed5ccdc2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 29 Dec 2017 11:57:52 -0500 Subject: [PATCH] net471 directive fixes --- src/Core/Core.csproj | 2 +- .../Implementations/NotificationHubPushNotificationService.cs | 2 +- .../Implementations/NotificationHubPushRegistrationService.cs | 2 +- src/Core/Utilities/ServiceCollectionExtensions.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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();