From bff6ed027b1843cdca55a06756222f9638d851a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Sun, 30 Aug 2020 18:16:36 +0200 Subject: [PATCH] Add .NET 5.0 TFMs and bump the .NET SDK to 5.0.100 --- Directory.Build.props | 1 + Directory.Build.targets | 5 +++ Packages.props | 36 ++++++++++++++++--- global.json | 2 +- .../Controllers/AuthenticationController.cs | 8 ++--- samples/Mvc.Client/Mvc.Client.csproj | 3 +- samples/Mvc.Client/Startup.cs | 2 +- samples/Mvc.Client/Views/Shared/Home.cshtml | 4 +-- samples/Mvc.Server/Mvc.Server.csproj | 3 +- .../OpenIddict.Abstractions.csproj | 1 - .../OpenIddict.AspNetCore.csproj | 3 +- src/OpenIddict.Core/OpenIddict.Core.csproj | 3 +- .../OpenIddict.EntityFramework.Models.csproj | 1 - .../OpenIddict.EntityFramework.csproj | 3 +- ...enIddict.EntityFrameworkCore.Models.csproj | 1 - .../OpenIddict.EntityFrameworkCore.csproj | 3 +- .../OpenIddict.MongoDb.Models.csproj | 1 - .../OpenIddict.MongoDb.csproj | 3 +- .../OpenIddict.Quartz.csproj | 3 +- .../OpenIddict.Server.AspNetCore.csproj | 3 +- .../OpenIddictServerAspNetCoreHandler.cs | 2 +- ...ServerAspNetCoreHandlers.Authentication.cs | 16 +++++++-- ...nIddictServerAspNetCoreHandlers.Session.cs | 16 +++++++-- .../OpenIddict.Server.DataProtection.csproj | 3 +- .../OpenIddict.Server.Owin.csproj | 1 - .../OpenIddict.Server.csproj | 3 +- .../OpenIddict.Validation.AspNetCore.csproj | 3 +- .../OpenIddictValidationAspNetCoreHandler.cs | 2 +- ...penIddict.Validation.DataProtection.csproj | 3 +- .../OpenIddict.Validation.Owin.csproj | 1 - ...Iddict.Validation.ServerIntegration.csproj | 1 - ...OpenIddict.Validation.SystemNetHttp.csproj | 1 - .../OpenIddict.Validation.csproj | 3 +- src/OpenIddict/OpenIddict.csproj | 3 +- .../OpenIddict.Abstractions.Tests.csproj | 3 +- .../OpenIddict.Core.Tests.csproj | 3 +- .../OpenIddict.EntityFramework.Tests.csproj | 3 +- ...penIddict.EntityFrameworkCore.Tests.csproj | 3 +- .../OpenIddict.MongoDb.Tests.csproj | 3 +- .../OpenIddict.Quartz.Tests.csproj | 4 +-- ....Server.AspNetCore.IntegrationTests.csproj | 3 +- ...nIddictServerAspNetCoreIntegrationTests.cs | 12 +++---- .../OpenIddict.Server.IntegrationTests.csproj | 3 +- .../OpenIddictServerIntegrationTestClient.cs | 2 +- ...Iddict.Server.Owin.IntegrationTests.csproj | 1 - .../OpenIddict.Server.Tests.csproj | 4 +-- 46 files changed, 109 insertions(+), 82 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index dd65ab19..da9bde7f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,6 +7,7 @@ preview $(NoWarn);CS1591;NU5118;NU5128 true + enable true portable snupkg diff --git a/Directory.Build.targets b/Directory.Build.targets index deaa46aa..5ff47e01 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -61,6 +61,11 @@ $(DefineConstants);SUPPORTS_BCL_ASYNC_ENUMERABLE + + $(DefineConstants);SUPPORTS_MULTIPLE_VALUES_IN_QUERYHELPERS + +