Fixing CI build failure

This commit is contained in:
Pranav K 2016-03-16 16:22:16 -07:00
parent 0ea969e684
commit 4ef80fabf6
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@ namespace IdentitySample
services.AddIdentity<ApplicationUser, IdentityRole>(options => {
options.Cookies.ApplicationCookie.AuthenticationScheme = "ApplicationCookie";
options.Cookies.ApplicationCookie.DataProtectionProvider = new DataProtectionProvider(new DirectoryInfo("C:\\Github\\Identity\\artifacts"));
options.Cookies.ApplicationCookie.DataProtectionProvider = DataProtectionProvider.Create(new DirectoryInfo("C:\\Github\\Identity\\artifacts"));
options.Cookies.ApplicationCookie.CookieName = "Interop";
})
.AddEntityFrameworkStores<ApplicationDbContext>()

View File

@ -26,7 +26,8 @@
"Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
"Microsoft.NETCore.Platforms": "1.0.1-*",
"System.IO": "4.1.0-*"
},
"compilationOptions": {
"emitEntryPoint": true