From 45f9780d32bc83a0ce8b7de3d6620427672df9c0 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 24 May 2017 11:54:06 -0700 Subject: [PATCH] Switch back to netstandard2.0 --- build/common.props | 4 ++-- build/dependencies.props | 2 +- .../IdentitySample.Mvc.csproj | 5 +++-- samples/IdentitySample.Mvc/Startup.cs | 4 ---- .../DeveloperCertificateMiddleware.cs | 5 +++++ ...etCore.Diagnostics.Identity.Service.csproj | 2 +- ...etCore.Identity.EntityFrameworkCore.csproj | 2 +- ...tCore.Identity.Service.Abstractions.csproj | 2 +- .../CryptographyHelpers.cs | 21 +++++++++++++++--- ...ft.AspNetCore.Identity.Service.Core.csproj | 3 +-- ...dentity.Service.EntityFrameworkCore.csproj | 2 +- ...dentity.Service.IntegratedWebClient.csproj | 2 +- ...oft.AspNetCore.Identity.Service.Mvc.csproj | 2 +- ...dentity.Service.Specification.Tests.csproj | 2 +- ...crosoft.AspNetCore.Identity.Service.csproj | 2 +- ...etCore.Identity.Specification.Tests.csproj | 2 +- .../Microsoft.AspNetCore.Identity.csproj | 2 +- .../Microsoft.Extensions.Identity.Core.csproj | 6 +---- ...icrosoft.Extensions.Identity.Stores.csproj | 7 +----- ...y.EntityFrameworkCore.InMemory.Test.csproj | 3 ++- ...e.Identity.EntityFrameworkCore.Test.csproj | 3 ++- ...t.AspNetCore.Identity.InMemory.Test.csproj | 3 ++- ....Identity.Service.Abstractions.Test.csproj | 3 ++- .../CryptoUtilities.cs | 22 ++++++++++++++----- ...pNetCore.Identity.Service.Core.Test.csproj | 3 ++- ...e.EntityFrameworkCore.InMemory.Test.csproj | 3 ++- ...ty.Service.EntityFrameworkCore.Test.csproj | 3 ++- ...Core.Identity.Service.InMemory.Test.csproj | 3 ++- ...ft.AspNetCore.Identity.Service.Test.csproj | 3 ++- .../Microsoft.AspNetCore.Identity.Test.csproj | 3 ++- 30 files changed, 78 insertions(+), 51 deletions(-) diff --git a/build/common.props b/build/common.props index 56dd239bcf..ad7439d69d 100644 --- a/build/common.props +++ b/build/common.props @@ -15,9 +15,9 @@ - + - + diff --git a/build/dependencies.props b/build/dependencies.props index 86ea6c7699..e45217e711 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -6,7 +6,7 @@ 2.2.1 2.1.0-* 4.7.1 - $(BundledNETStandardPackageVersion) + 2.0.0-* 3.0.1 15.3.0-* diff --git a/samples/IdentitySample.Mvc/IdentitySample.Mvc.csproj b/samples/IdentitySample.Mvc/IdentitySample.Mvc.csproj index f4601bf543..f652e77396 100644 --- a/samples/IdentitySample.Mvc/IdentitySample.Mvc.csproj +++ b/samples/IdentitySample.Mvc/IdentitySample.Mvc.csproj @@ -1,10 +1,11 @@  - + Identity sample MVC application on ASP.NET Core - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 aspnetcore-b3d20cbe-418e-4bf2-a0f4-57f91d067e07 diff --git a/samples/IdentitySample.Mvc/Startup.cs b/samples/IdentitySample.Mvc/Startup.cs index 24e657848e..4fd452f34b 100644 --- a/samples/IdentitySample.Mvc/Startup.cs +++ b/samples/IdentitySample.Mvc/Startup.cs @@ -3,7 +3,6 @@ using IdentitySample.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; -using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; @@ -47,9 +46,6 @@ namespace IdentitySample // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(Configuration.GetSection("Logging")); - loggerFactory.AddDebug(); - if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); diff --git a/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/DeveloperCertificateMiddleware.cs b/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/DeveloperCertificateMiddleware.cs index 000868cc43..ca849aac9b 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/DeveloperCertificateMiddleware.cs +++ b/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/DeveloperCertificateMiddleware.cs @@ -79,6 +79,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Identity.Service await _next(context); void CreateDevelopmentCertificate() { +#if NETCOREAPP2_0 using (var rsa = RSA.Create(2048)) { var signingRequest = new CertificateRequest( @@ -107,6 +108,10 @@ namespace Microsoft.AspNetCore.Diagnostics.Identity.Service context.Response.StatusCode = StatusCodes.Status204NoContent; }; } +#elif NETSTANDARD2_0 +#else +#error The target frameworks need to be updated. +#endif } bool FoundDeveloperCertificate() diff --git a/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/Microsoft.AspNetCore.Diagnostics.Identity.Service.csproj b/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/Microsoft.AspNetCore.Diagnostics.Identity.Service.csproj index d307a9f407..1a94e969f5 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/Microsoft.AspNetCore.Diagnostics.Identity.Service.csproj +++ b/src/Microsoft.AspNetCore.Diagnostics.Identity.Service/Microsoft.AspNetCore.Diagnostics.Identity.Service.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity Service Diagnostics Middleware. - netcoreapp2.0 + netcoreapp2.0;netstandard2.0 $(NoWarn);CS1591 true aspnetcore diff --git a/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj b/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj index a76627f45a..5050999425 100644 --- a/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj +++ b/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity provider that uses Entity Framework Core. - netcoreapp2.0 + netstandard2.0 true aspnetcore;entityframeworkcore;identity;membership diff --git a/src/Microsoft.AspNetCore.Identity.Service.Abstractions/Microsoft.AspNetCore.Identity.Service.Abstractions.csproj b/src/Microsoft.AspNetCore.Identity.Service.Abstractions/Microsoft.AspNetCore.Identity.Service.Abstractions.csproj index 59c95f8713..cee896d111 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.Abstractions/Microsoft.AspNetCore.Identity.Service.Abstractions.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service.Abstractions/Microsoft.AspNetCore.Identity.Service.Abstractions.csproj @@ -4,7 +4,7 @@ ASP.NET Core common types defining the main abstractions for Identity Service. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore diff --git a/src/Microsoft.AspNetCore.Identity.Service.Core/CryptographyHelpers.cs b/src/Microsoft.AspNetCore.Identity.Service.Core/CryptographyHelpers.cs index c29d0bca99..043cd5c926 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.Core/CryptographyHelpers.cs +++ b/src/Microsoft.AspNetCore.Identity.Service.Core/CryptographyHelpers.cs @@ -43,9 +43,24 @@ namespace Microsoft.AspNetCore.Identity.Service return; } - public static RSA CreateRsaAlgorithm() => RSA.Create(2048); + public static SHA256 CreateSHA256() + { + SHA256 sha256 = null; + try + { + sha256 = SHA256.Create(); + return sha256; + } + // SHA256.Create is documented to throw this exception on FIPS compliant machines. + // See: https://msdn.microsoft.com/enus/library/z08hz7ad%28v=vs.110%29.aspx?f=255&MSPPError=2147217396 + catch (System.Reflection.TargetInvocationException) + { + // Fallback to a FIPS compliant SHA256 algorithm. + sha256 = new SHA256CryptoServiceProvider(); + } - public static SHA256 CreateSHA256() => SHA256.Create(); + return sha256; + } public static RSAParameters GetRSAParameters(SigningCredentials credentials) { @@ -82,7 +97,7 @@ namespace Microsoft.AspNetCore.Identity.Service var rsaSecurityKey = credentials.Key as RsaSecurityKey; // Check that the key has either an Asymetric Algorithm assigned or that at least // one of the RSA parameters are initialized to consider the key "valid". - if (rsaSecurityKey != null && + if (rsaSecurityKey != null && (rsaSecurityKey.Rsa != null || rsaSecurityKey.Parameters.Modulus != null)) { return JsonWebAlgorithmsKeyTypes.RSA; diff --git a/src/Microsoft.AspNetCore.Identity.Service.Core/Microsoft.AspNetCore.Identity.Service.Core.csproj b/src/Microsoft.AspNetCore.Identity.Service.Core/Microsoft.AspNetCore.Identity.Service.Core.csproj index c76fee5848..16423d3311 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.Core/Microsoft.AspNetCore.Identity.Service.Core.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service.Core/Microsoft.AspNetCore.Identity.Service.Core.csproj @@ -4,7 +4,7 @@ ASP.NET Core common types implementing the main abstractions for Identity Service. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore @@ -16,7 +16,6 @@ - diff --git a/src/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.csproj b/src/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.csproj index 8be4f5b488..11a5674d31 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity Service implementation based on ASP.NET Core Identity. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore diff --git a/src/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient.csproj b/src/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient.csproj index 829926bd63..3c3396db32 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient/Microsoft.AspNetCore.Identity.Service.IntegratedWebClient.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity Service in process client. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore diff --git a/src/Microsoft.AspNetCore.Identity.Service.Mvc/Microsoft.AspNetCore.Identity.Service.Mvc.csproj b/src/Microsoft.AspNetCore.Identity.Service.Mvc/Microsoft.AspNetCore.Identity.Service.Mvc.csproj index 1eba29b504..fc0ce8e6ac 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.Mvc/Microsoft.AspNetCore.Identity.Service.Mvc.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service.Mvc/Microsoft.AspNetCore.Identity.Service.Mvc.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity Service integration for ASP.NET Core MVC. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore diff --git a/src/Microsoft.AspNetCore.Identity.Service.Specification.Tests/Microsoft.AspNetCore.Identity.Service.Specification.Tests.csproj b/src/Microsoft.AspNetCore.Identity.Service.Specification.Tests/Microsoft.AspNetCore.Identity.Service.Specification.Tests.csproj index 5ef91eac75..4258b9b92b 100644 --- a/src/Microsoft.AspNetCore.Identity.Service.Specification.Tests/Microsoft.AspNetCore.Identity.Service.Specification.Tests.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service.Specification.Tests/Microsoft.AspNetCore.Identity.Service.Specification.Tests.csproj @@ -4,7 +4,7 @@ Shared test suite for Asp.Net Identity Core as a service store implementations. - netcoreapp2.0 + netstandard2.0 true aspnetcore;identity diff --git a/src/Microsoft.AspNetCore.Identity.Service/Microsoft.AspNetCore.Identity.Service.csproj b/src/Microsoft.AspNetCore.Identity.Service/Microsoft.AspNetCore.Identity.Service.csproj index 71a80715a8..d0e06da6f1 100644 --- a/src/Microsoft.AspNetCore.Identity.Service/Microsoft.AspNetCore.Identity.Service.csproj +++ b/src/Microsoft.AspNetCore.Identity.Service/Microsoft.AspNetCore.Identity.Service.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity Service implementation based on Entity Framework. - netcoreapp2.0 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore diff --git a/src/Microsoft.AspNetCore.Identity.Specification.Tests/Microsoft.AspNetCore.Identity.Specification.Tests.csproj b/src/Microsoft.AspNetCore.Identity.Specification.Tests/Microsoft.AspNetCore.Identity.Specification.Tests.csproj index adbc73fcee..4dbde29b45 100644 --- a/src/Microsoft.AspNetCore.Identity.Specification.Tests/Microsoft.AspNetCore.Identity.Specification.Tests.csproj +++ b/src/Microsoft.AspNetCore.Identity.Specification.Tests/Microsoft.AspNetCore.Identity.Specification.Tests.csproj @@ -4,7 +4,7 @@ Shared test suite for Asp.Net Identity Core store implementations. - netcoreapp2.0 + netstandard2.0 true aspnetcore;identity;membership diff --git a/src/Microsoft.AspNetCore.Identity/Microsoft.AspNetCore.Identity.csproj b/src/Microsoft.AspNetCore.Identity/Microsoft.AspNetCore.Identity.csproj index 329faa3233..f01e6f8d0e 100644 --- a/src/Microsoft.AspNetCore.Identity/Microsoft.AspNetCore.Identity.csproj +++ b/src/Microsoft.AspNetCore.Identity/Microsoft.AspNetCore.Identity.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. - netcoreapp2.0 + netstandard2.0 true aspnetcore;identity;membership false diff --git a/src/Microsoft.Extensions.Identity.Core/Microsoft.Extensions.Identity.Core.csproj b/src/Microsoft.Extensions.Identity.Core/Microsoft.Extensions.Identity.Core.csproj index 6fbe472822..3181f61042 100644 --- a/src/Microsoft.Extensions.Identity.Core/Microsoft.Extensions.Identity.Core.csproj +++ b/src/Microsoft.Extensions.Identity.Core/Microsoft.Extensions.Identity.Core.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. - netstandard1.3 + netstandard2.0 true aspnetcore;identity;membership false @@ -17,8 +17,4 @@ - - - - diff --git a/src/Microsoft.Extensions.Identity.Stores/Microsoft.Extensions.Identity.Stores.csproj b/src/Microsoft.Extensions.Identity.Stores/Microsoft.Extensions.Identity.Stores.csproj index 2bb6600bb4..0148e99e0e 100644 --- a/src/Microsoft.Extensions.Identity.Stores/Microsoft.Extensions.Identity.Stores.csproj +++ b/src/Microsoft.Extensions.Identity.Stores/Microsoft.Extensions.Identity.Stores.csproj @@ -4,7 +4,7 @@ ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. - netstandard1.3 + netstandard2.0 true aspnetcore;identity;membership false @@ -16,11 +16,6 @@ - - - - - diff --git a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test.csproj b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test.csproj index fdf5da4553..1ab9e08306 100644 --- a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.csproj b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.csproj index b371dd4096..146f87fedc 100644 --- a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.InMemory.Test/Microsoft.AspNetCore.Identity.InMemory.Test.csproj b/test/Microsoft.AspNetCore.Identity.InMemory.Test/Microsoft.AspNetCore.Identity.InMemory.Test.csproj index c6a7ae3697..f48a04e335 100644 --- a/test/Microsoft.AspNetCore.Identity.InMemory.Test/Microsoft.AspNetCore.Identity.InMemory.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.InMemory.Test/Microsoft.AspNetCore.Identity.InMemory.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test.csproj b/test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test.csproj index 70308d5eb3..ca4db80f11 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test/Microsoft.AspNetCore.Identity.Service.Abstractions.Test.csproj @@ -2,7 +2,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Service.Core.Test/CryptoUtilities.cs b/test/Microsoft.AspNetCore.Identity.Service.Core.Test/CryptoUtilities.cs index ea6f0e0037..b425ddafeb 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.Core.Test/CryptoUtilities.cs +++ b/test/Microsoft.AspNetCore.Identity.Service.Core.Test/CryptoUtilities.cs @@ -10,14 +10,24 @@ namespace Microsoft.AspNetCore.Identity.Service { internal static SecurityKey CreateTestKey(string id = "Test") { - using (var rsa = RSA.Create(2048)) + var rsa = RSA.Create(); + if (rsa.KeySize < 2048) { - SecurityKey key; - var parameters = rsa.ExportParameters(includePrivateParameters: true); - key = new RsaSecurityKey(parameters); - key.KeyId = id; - return key; + rsa.KeySize = 2048; + if (rsa.KeySize < 2048 && rsa is RSACryptoServiceProvider) + { + rsa.Dispose(); + rsa = new RSACryptoServiceProvider(2048); + } } + + SecurityKey key; + var parameters = rsa.ExportParameters(includePrivateParameters: true); + rsa.Dispose(); + + key = new RsaSecurityKey(parameters); + key.KeyId = id; + return key; } } } diff --git a/test/Microsoft.AspNetCore.Identity.Service.Core.Test/Microsoft.AspNetCore.Identity.Service.Core.Test.csproj b/test/Microsoft.AspNetCore.Identity.Service.Core.Test/Microsoft.AspNetCore.Identity.Service.Core.Test.csproj index c75b4e29d0..68623b6b39 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.Core.Test/Microsoft.AspNetCore.Identity.Service.Core.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Service.Core.Test/Microsoft.AspNetCore.Identity.Service.Core.Test.csproj @@ -2,7 +2,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test.csproj b/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test.csproj index f69d5e95ea..8bd9f282e3 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.InMemory.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test.csproj b/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test.csproj index efc879aef0..8d46aaba55 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test/Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Service.InMemory.Test/Microsoft.AspNetCore.Identity.Service.InMemory.Test.csproj b/test/Microsoft.AspNetCore.Identity.Service.InMemory.Test/Microsoft.AspNetCore.Identity.Service.InMemory.Test.csproj index 7a4f83b0fc..4f3223ee5c 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.InMemory.Test/Microsoft.AspNetCore.Identity.Service.InMemory.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Service.InMemory.Test/Microsoft.AspNetCore.Identity.Service.InMemory.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Service.Test/Microsoft.AspNetCore.Identity.Service.Test.csproj b/test/Microsoft.AspNetCore.Identity.Service.Test/Microsoft.AspNetCore.Identity.Service.Test.csproj index 1de00529a6..ac584115cc 100644 --- a/test/Microsoft.AspNetCore.Identity.Service.Test/Microsoft.AspNetCore.Identity.Service.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Service.Test/Microsoft.AspNetCore.Identity.Service.Test.csproj @@ -2,7 +2,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0 diff --git a/test/Microsoft.AspNetCore.Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj b/test/Microsoft.AspNetCore.Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj index 514b898425..4eaf823a20 100644 --- a/test/Microsoft.AspNetCore.Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj +++ b/test/Microsoft.AspNetCore.Identity.Test/Microsoft.AspNetCore.Identity.Test.csproj @@ -3,7 +3,8 @@ - netcoreapp2.0 + netcoreapp2.0;net461 + netcoreapp2.0