From e4db4b1189f89e6737da7975581ddd4cf2a10d46 Mon Sep 17 00:00:00 2001 From: Levi B Date: Thu, 26 Feb 2015 10:35:40 -0800 Subject: [PATCH] Temporarily store keys in different folder to resolve issues caused by package renaming --- .../DataProtectionServiceCollectionExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.AspNet.DataProtection/DataProtectionServiceCollectionExtensions.cs b/src/Microsoft.AspNet.DataProtection/DataProtectionServiceCollectionExtensions.cs index 8010230161..f2be8533fe 100644 --- a/src/Microsoft.AspNet.DataProtection/DataProtectionServiceCollectionExtensions.cs +++ b/src/Microsoft.AspNet.DataProtection/DataProtectionServiceCollectionExtensions.cs @@ -121,7 +121,7 @@ namespace Microsoft.Framework.DependencyInjection } // TODO: Remove BETA moniker from below. - string fullPathToKeys = Path.Combine(homeEnvVar, "ASP.NET", "keys-BETA"); + string fullPathToKeys = Path.Combine(homeEnvVar, "ASP.NET", "keys-BETA6"); return new DirectoryInfo(fullPathToKeys); } @@ -133,7 +133,7 @@ namespace Microsoft.Framework.DependencyInjection if (!String.IsNullOrEmpty(folderPath)) { // TODO: Remove BETA moniker from below. - return new DirectoryInfo(Path.Combine(folderPath, "ASP.NET", "keys-BETA")); + return new DirectoryInfo(Path.Combine(folderPath, "ASP.NET", "keys-BETA6")); } else { @@ -145,7 +145,7 @@ namespace Microsoft.Framework.DependencyInjection ?? Path.Combine(Environment.GetEnvironmentVariable("USERPROFILE"), "AppData", "Local"); // TODO: Remove BETA moniker from below. - DirectoryInfo retVal = new DirectoryInfo(Path.Combine(folderPath, "ASP.NET", "keys-BETA")); + DirectoryInfo retVal = new DirectoryInfo(Path.Combine(folderPath, "ASP.NET", "keys-BETA6")); try { retVal.Create(); // throws if we don't have access, e.g., user profile not loaded