From ea7791709ce0574b45c8730f593e9c3e0b234ff6 Mon Sep 17 00:00:00 2001 From: Stu Frankish Date: Wed, 24 Sep 2025 12:44:26 +0100 Subject: [PATCH] Introduce new CPM per-framework variables. Condense per-frameworks references into a single include referencing the new variables. Remove explicit TargetFrameworks from all possible projects. Added comment to explain where csproj files still include a TargetFramework. Added reference to bump transitive kubernetes package (due to vulnerability). --- Directory.Packages.props | 129 +++++++++--------- bff/hosts/Hosts.AppHost/Hosts.AppHost.csproj | 19 +-- .../UserSessionDb/UserSessionDb.csproj | 4 +- .../Bff.Blazor.Client.csproj | 2 +- bff/src/Bff.Blazor/Bff.Blazor.csproj | 2 +- .../Bff.EntityFramework.csproj | 2 +- bff/src/Bff.Yarp/Bff.Yarp.csproj | 2 +- bff/src/Bff/Bff.csproj | 2 +- .../Bff.Blazor.Client.UnitTests.csproj | 2 +- .../Bff.Blazor.UnitTests.csproj | 2 +- .../Bff.EntityFramework.Tests.csproj | 2 +- bff/test/Bff.Tests/Bff.Tests.csproj | 2 +- bff/test/Hosts.Tests/Hosts.Tests.csproj | 2 +- .../aspire/AppHosts/All/All.csproj | 1 + .../aspire/AppHosts/Dev/Dev.csproj | 1 + .../clients/src/APIs/DPoPApi/DPoPApi.csproj | 6 +- .../clients/src/APIs/MtlsApi/MtlsApi.csproj | 1 - .../ResourceBasedApi/ResourceBasedApi.csproj | 6 +- .../src/APIs/SimpleApi/SimpleApi.csproj | 4 - .../ConsoleCibaClient.csproj | 1 - .../ConsoleClientCredentialsFlow.csproj | 1 - ...entialsFlowCallingIdentityServerApi.csproj | 1 - .../ConsoleClientCredentialsFlowDPoP.csproj | 1 - ...onsoleClientCredentialsFlowPostBody.csproj | 2 +- .../src/ConsoleCode/ConsoleCode.csproj | 1 - .../clients/src/ConsoleCode/SystemBrowser.cs | 3 + .../ConsoleExtensionGrant.csproj | 1 - .../ConsoleDcrClient/ConsoleDcrClient.csproj | 1 - .../ConsoleDeviceFlow.csproj | 4 +- .../ConsoleEphemeralMtlsClient.csproj | 1 - .../ConsoleIntrospectionClient.csproj | 1 - .../ConsoleMTLSClient.csproj | 3 +- .../ConsoleParameterizedScopeClient.csproj | 1 - .../ConsolePrivateKeyJwtClient.csproj | 5 +- .../ConsoleResourceIndicators.csproj | 1 - .../LoopbackHttpListener.cs | 3 + .../ConsoleResourceOwnerFlow.csproj | 1 - .../ConsoleResourceOwnerFlowPublic.csproj | 1 - .../ConsoleResourceOwnerFlowReference.csproj | 1 - ...onsoleResourceOwnerFlowRefreshToken.csproj | 1 - .../ConsoleResourceOwnerFlowUserInfo.csproj | 1 - .../ConsoleScopesResources.csproj | 1 - .../clients/src/Constants/Constants.csproj | 5 - .../clients/src/JsOidc/JsOidc.csproj | 5 - identity-server/clients/src/JsOidc/Program.cs | 2 + .../MvcAutomaticTokenManagement.csproj | 6 +- .../clients/src/MvcCode/MvcCode.csproj | 1 - .../clients/src/MvcDPoP/MvcDPoP.csproj | 6 +- .../MvcHybridBackChannel.csproj | 5 - .../clients/src/MvcJarJwt/MvcJarJwt.csproj | 5 +- .../src/MvcJarUriJwt/MvcJarUriJwt.csproj | 5 +- identity-server/clients/src/Web/Web.csproj | 5 +- .../WindowsConsoleSystemBrowser.csproj | 1 - samples.props | 3 +- src.props | 3 + templates.props | 4 +- test.props | 1 + 57 files changed, 119 insertions(+), 166 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 2d93f701e..75d0e4bfb 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,4 +1,32 @@ + + + 8.0.1 + 8.0.20 + 8.0.20 + 8.0.20 + 8.0.16 + 7.1.2 + + + + 9.0.3 + 9.0.9 + 9.0.3 + 9.0.3 + 9.0.3 + 8.0.1 + + + + 10.0.0-rc.1.25451.107 + 10.0.0-rc.1.25451.107 + 10.0.0-rc.1.25451.107 + 10.0.0-rc.1.25451.107 + 10.0.0-rc.1.25451.107 + 8.0.1 + + @@ -8,6 +36,9 @@ + + + @@ -22,61 +53,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + @@ -97,15 +96,11 @@ - - - - - - - - - + + + + + @@ -136,9 +131,9 @@ - - - + + + @@ -149,4 +144,4 @@ - \ No newline at end of file + diff --git a/bff/hosts/Hosts.AppHost/Hosts.AppHost.csproj b/bff/hosts/Hosts.AppHost/Hosts.AppHost.csproj index 8f0203e6a..ad20029dc 100644 --- a/bff/hosts/Hosts.AppHost/Hosts.AppHost.csproj +++ b/bff/hosts/Hosts.AppHost/Hosts.AppHost.csproj @@ -13,30 +13,25 @@ + - + - + - - - - + + + + diff --git a/bff/migrations/UserSessionDb/UserSessionDb.csproj b/bff/migrations/UserSessionDb/UserSessionDb.csproj index 6a11e9e1d..88e4842ee 100644 --- a/bff/migrations/UserSessionDb/UserSessionDb.csproj +++ b/bff/migrations/UserSessionDb/UserSessionDb.csproj @@ -1,8 +1,8 @@ - + diff --git a/bff/src/Bff.Blazor.Client/Bff.Blazor.Client.csproj b/bff/src/Bff.Blazor.Client/Bff.Blazor.Client.csproj index 327d1d53c..3ccd6156f 100644 --- a/bff/src/Bff.Blazor.Client/Bff.Blazor.Client.csproj +++ b/bff/src/Bff.Blazor.Client/Bff.Blazor.Client.csproj @@ -1,7 +1,7 @@ - net8.0 + enable enable true diff --git a/bff/src/Bff.Blazor/Bff.Blazor.csproj b/bff/src/Bff.Blazor/Bff.Blazor.csproj index 8b6c2b251..d3dd1449b 100644 --- a/bff/src/Bff.Blazor/Bff.Blazor.csproj +++ b/bff/src/Bff.Blazor/Bff.Blazor.csproj @@ -1,7 +1,7 @@  - net8.0 + enable enable true diff --git a/bff/src/Bff.EntityFramework/Bff.EntityFramework.csproj b/bff/src/Bff.EntityFramework/Bff.EntityFramework.csproj index b48f6e722..fafa6cb41 100644 --- a/bff/src/Bff.EntityFramework/Bff.EntityFramework.csproj +++ b/bff/src/Bff.EntityFramework/Bff.EntityFramework.csproj @@ -1,7 +1,7 @@ - net8.0;net9.0 + Entity Framework Core support for backend for frontend (BFF) host for ASP.NET Core Duende.BFF.EntityFramework diff --git a/bff/src/Bff.Yarp/Bff.Yarp.csproj b/bff/src/Bff.Yarp/Bff.Yarp.csproj index f853edfb3..0ecf275d5 100644 --- a/bff/src/Bff.Yarp/Bff.Yarp.csproj +++ b/bff/src/Bff.Yarp/Bff.Yarp.csproj @@ -1,6 +1,6 @@ - net8.0;net9.0 + enable Duende.BFF.Yarp Backend for frontend (BFF) host for ASP.NET Core (YARP integration) diff --git a/bff/src/Bff/Bff.csproj b/bff/src/Bff/Bff.csproj index fadf4f67e..3c9929dc4 100644 --- a/bff/src/Bff/Bff.csproj +++ b/bff/src/Bff/Bff.csproj @@ -1,7 +1,7 @@ - net8.0;net9.0 + enable Duende.BFF Backend for frontend (BFF) host for ASP.NET Core diff --git a/bff/test/Bff.Blazor.Client.UnitTests/Bff.Blazor.Client.UnitTests.csproj b/bff/test/Bff.Blazor.Client.UnitTests/Bff.Blazor.Client.UnitTests.csproj index 40dccf34f..ddf891a20 100644 --- a/bff/test/Bff.Blazor.Client.UnitTests/Bff.Blazor.Client.UnitTests.csproj +++ b/bff/test/Bff.Blazor.Client.UnitTests/Bff.Blazor.Client.UnitTests.csproj @@ -1,7 +1,7 @@ - net8.0 + enable enable diff --git a/bff/test/Bff.Blazor.UnitTests/Bff.Blazor.UnitTests.csproj b/bff/test/Bff.Blazor.UnitTests/Bff.Blazor.UnitTests.csproj index a992fad04..b7b3fb07f 100644 --- a/bff/test/Bff.Blazor.UnitTests/Bff.Blazor.UnitTests.csproj +++ b/bff/test/Bff.Blazor.UnitTests/Bff.Blazor.UnitTests.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + enable enable diff --git a/bff/test/Bff.EntityFramework.Tests/Bff.EntityFramework.Tests.csproj b/bff/test/Bff.EntityFramework.Tests/Bff.EntityFramework.Tests.csproj index d26c1736b..f757167ed 100644 --- a/bff/test/Bff.EntityFramework.Tests/Bff.EntityFramework.Tests.csproj +++ b/bff/test/Bff.EntityFramework.Tests/Bff.EntityFramework.Tests.csproj @@ -1,6 +1,6 @@ - net8.0;net9.0 + enable True diff --git a/bff/test/Bff.Tests/Bff.Tests.csproj b/bff/test/Bff.Tests/Bff.Tests.csproj index ca59118d0..714043e9e 100644 --- a/bff/test/Bff.Tests/Bff.Tests.csproj +++ b/bff/test/Bff.Tests/Bff.Tests.csproj @@ -1,7 +1,7 @@ - net8.0;net9.0 + enable True diff --git a/bff/test/Hosts.Tests/Hosts.Tests.csproj b/bff/test/Hosts.Tests/Hosts.Tests.csproj index bf8e46ca7..d78af1fbf 100644 --- a/bff/test/Hosts.Tests/Hosts.Tests.csproj +++ b/bff/test/Hosts.Tests/Hosts.Tests.csproj @@ -1,4 +1,4 @@ - + net9.0 diff --git a/identity-server/aspire/AppHosts/All/All.csproj b/identity-server/aspire/AppHosts/All/All.csproj index 5a3a9b971..a233413ac 100644 --- a/identity-server/aspire/AppHosts/All/All.csproj +++ b/identity-server/aspire/AppHosts/All/All.csproj @@ -15,6 +15,7 @@ + diff --git a/identity-server/aspire/AppHosts/Dev/Dev.csproj b/identity-server/aspire/AppHosts/Dev/Dev.csproj index 3184daa47..978acd4d8 100644 --- a/identity-server/aspire/AppHosts/Dev/Dev.csproj +++ b/identity-server/aspire/AppHosts/Dev/Dev.csproj @@ -13,6 +13,7 @@ + diff --git a/identity-server/clients/src/APIs/DPoPApi/DPoPApi.csproj b/identity-server/clients/src/APIs/DPoPApi/DPoPApi.csproj index 46b57ed28..d7277f85d 100644 --- a/identity-server/clients/src/APIs/DPoPApi/DPoPApi.csproj +++ b/identity-server/clients/src/APIs/DPoPApi/DPoPApi.csproj @@ -1,8 +1,4 @@ - - - - net9.0 - + - net9.0 enable enable diff --git a/identity-server/clients/src/APIs/ResourceBasedApi/ResourceBasedApi.csproj b/identity-server/clients/src/APIs/ResourceBasedApi/ResourceBasedApi.csproj index 6914177d0..7e78455fc 100644 --- a/identity-server/clients/src/APIs/ResourceBasedApi/ResourceBasedApi.csproj +++ b/identity-server/clients/src/APIs/ResourceBasedApi/ResourceBasedApi.csproj @@ -1,8 +1,4 @@ - - - - net9.0 - + diff --git a/identity-server/clients/src/APIs/SimpleApi/SimpleApi.csproj b/identity-server/clients/src/APIs/SimpleApi/SimpleApi.csproj index 46b57ed28..98c3fcebe 100644 --- a/identity-server/clients/src/APIs/SimpleApi/SimpleApi.csproj +++ b/identity-server/clients/src/APIs/SimpleApi/SimpleApi.csproj @@ -1,9 +1,5 @@ - - net9.0 - - diff --git a/identity-server/clients/src/ConsoleCibaClient/ConsoleCibaClient.csproj b/identity-server/clients/src/ConsoleCibaClient/ConsoleCibaClient.csproj index 428619194..a68dabbed 100644 --- a/identity-server/clients/src/ConsoleCibaClient/ConsoleCibaClient.csproj +++ b/identity-server/clients/src/ConsoleCibaClient/ConsoleCibaClient.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleClientCredentialsFlow/ConsoleClientCredentialsFlow.csproj b/identity-server/clients/src/ConsoleClientCredentialsFlow/ConsoleClientCredentialsFlow.csproj index 91fb619ec..ce893b475 100644 --- a/identity-server/clients/src/ConsoleClientCredentialsFlow/ConsoleClientCredentialsFlow.csproj +++ b/identity-server/clients/src/ConsoleClientCredentialsFlow/ConsoleClientCredentialsFlow.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/ConsoleClientCredentialsFlowCallingIdentityServerApi.csproj b/identity-server/clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/ConsoleClientCredentialsFlowCallingIdentityServerApi.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/ConsoleClientCredentialsFlowCallingIdentityServerApi.csproj +++ b/identity-server/clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/ConsoleClientCredentialsFlowCallingIdentityServerApi.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleClientCredentialsFlowDPoP/ConsoleClientCredentialsFlowDPoP.csproj b/identity-server/clients/src/ConsoleClientCredentialsFlowDPoP/ConsoleClientCredentialsFlowDPoP.csproj index 9c4b63984..bb950a9f3 100644 --- a/identity-server/clients/src/ConsoleClientCredentialsFlowDPoP/ConsoleClientCredentialsFlowDPoP.csproj +++ b/identity-server/clients/src/ConsoleClientCredentialsFlowDPoP/ConsoleClientCredentialsFlowDPoP.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleClientCredentialsFlowPostBody/ConsoleClientCredentialsFlowPostBody.csproj b/identity-server/clients/src/ConsoleClientCredentialsFlowPostBody/ConsoleClientCredentialsFlowPostBody.csproj index dfa10d102..f5004a2c2 100644 --- a/identity-server/clients/src/ConsoleClientCredentialsFlowPostBody/ConsoleClientCredentialsFlowPostBody.csproj +++ b/identity-server/clients/src/ConsoleClientCredentialsFlowPostBody/ConsoleClientCredentialsFlowPostBody.csproj @@ -1,6 +1,6 @@  + - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleCode/ConsoleCode.csproj b/identity-server/clients/src/ConsoleCode/ConsoleCode.csproj index 115c778cf..9bf174f00 100644 --- a/identity-server/clients/src/ConsoleCode/ConsoleCode.csproj +++ b/identity-server/clients/src/ConsoleCode/ConsoleCode.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleCode/SystemBrowser.cs b/identity-server/clients/src/ConsoleCode/SystemBrowser.cs index 77ee481be..e3dc90e8c 100644 --- a/identity-server/clients/src/ConsoleCode/SystemBrowser.cs +++ b/identity-server/clients/src/ConsoleCode/SystemBrowser.cs @@ -13,6 +13,9 @@ using Microsoft.AspNetCore.Http; namespace ConsoleResourceIndicators; +#pragma warning disable ASPDEPR008 // Ignore IWebHost deprectation warnings +#pragma warning disable ASPDEPR004 // Ignore WebHostBuilder deprectation warnings + public class SystemBrowser : IBrowser { public int Port { get; } diff --git a/identity-server/clients/src/ConsoleCustomGrant/ConsoleExtensionGrant.csproj b/identity-server/clients/src/ConsoleCustomGrant/ConsoleExtensionGrant.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleCustomGrant/ConsoleExtensionGrant.csproj +++ b/identity-server/clients/src/ConsoleCustomGrant/ConsoleExtensionGrant.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleDcrClient/ConsoleDcrClient.csproj b/identity-server/clients/src/ConsoleDcrClient/ConsoleDcrClient.csproj index bf881cf8b..d00e90d15 100644 --- a/identity-server/clients/src/ConsoleDcrClient/ConsoleDcrClient.csproj +++ b/identity-server/clients/src/ConsoleDcrClient/ConsoleDcrClient.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleDeviceFlow/ConsoleDeviceFlow.csproj b/identity-server/clients/src/ConsoleDeviceFlow/ConsoleDeviceFlow.csproj index e7159a91c..148f17eee 100644 --- a/identity-server/clients/src/ConsoleDeviceFlow/ConsoleDeviceFlow.csproj +++ b/identity-server/clients/src/ConsoleDeviceFlow/ConsoleDeviceFlow.csproj @@ -1,13 +1,11 @@  - net9.0 Exe - + diff --git a/identity-server/clients/src/ConsoleEphemeralMtlsClient/ConsoleEphemeralMtlsClient.csproj b/identity-server/clients/src/ConsoleEphemeralMtlsClient/ConsoleEphemeralMtlsClient.csproj index 1991e823f..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleEphemeralMtlsClient/ConsoleEphemeralMtlsClient.csproj +++ b/identity-server/clients/src/ConsoleEphemeralMtlsClient/ConsoleEphemeralMtlsClient.csproj @@ -2,7 +2,6 @@ Exe - net9.0 diff --git a/identity-server/clients/src/ConsoleIntrospectionClient/ConsoleIntrospectionClient.csproj b/identity-server/clients/src/ConsoleIntrospectionClient/ConsoleIntrospectionClient.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleIntrospectionClient/ConsoleIntrospectionClient.csproj +++ b/identity-server/clients/src/ConsoleIntrospectionClient/ConsoleIntrospectionClient.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleMTLSClient/ConsoleMTLSClient.csproj b/identity-server/clients/src/ConsoleMTLSClient/ConsoleMTLSClient.csproj index 8243211f0..de1109eef 100644 --- a/identity-server/clients/src/ConsoleMTLSClient/ConsoleMTLSClient.csproj +++ b/identity-server/clients/src/ConsoleMTLSClient/ConsoleMTLSClient.csproj @@ -1,7 +1,8 @@  - net9.0 + + net9.0;net10.0 Exe diff --git a/identity-server/clients/src/ConsoleParameterizedScopeClient/ConsoleParameterizedScopeClient.csproj b/identity-server/clients/src/ConsoleParameterizedScopeClient/ConsoleParameterizedScopeClient.csproj index d19de5f98..eb210ef6c 100644 --- a/identity-server/clients/src/ConsoleParameterizedScopeClient/ConsoleParameterizedScopeClient.csproj +++ b/identity-server/clients/src/ConsoleParameterizedScopeClient/ConsoleParameterizedScopeClient.csproj @@ -2,7 +2,6 @@ Exe - net8.0 diff --git a/identity-server/clients/src/ConsolePrivateKeyJwtClient/ConsolePrivateKeyJwtClient.csproj b/identity-server/clients/src/ConsolePrivateKeyJwtClient/ConsolePrivateKeyJwtClient.csproj index 159ec844b..1e4d9fdd9 100644 --- a/identity-server/clients/src/ConsolePrivateKeyJwtClient/ConsolePrivateKeyJwtClient.csproj +++ b/identity-server/clients/src/ConsolePrivateKeyJwtClient/ConsolePrivateKeyJwtClient.csproj @@ -1,7 +1,8 @@ - + - net9.0 + + net9.0;net10.0 Exe diff --git a/identity-server/clients/src/ConsoleResourceIndicators/ConsoleResourceIndicators.csproj b/identity-server/clients/src/ConsoleResourceIndicators/ConsoleResourceIndicators.csproj index 115c778cf..9bf174f00 100644 --- a/identity-server/clients/src/ConsoleResourceIndicators/ConsoleResourceIndicators.csproj +++ b/identity-server/clients/src/ConsoleResourceIndicators/ConsoleResourceIndicators.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleResourceIndicators/LoopbackHttpListener.cs b/identity-server/clients/src/ConsoleResourceIndicators/LoopbackHttpListener.cs index d1b333542..e9ad02e81 100644 --- a/identity-server/clients/src/ConsoleResourceIndicators/LoopbackHttpListener.cs +++ b/identity-server/clients/src/ConsoleResourceIndicators/LoopbackHttpListener.cs @@ -7,6 +7,9 @@ using Microsoft.AspNetCore.Http; namespace ConsoleResourceIndicators; +#pragma warning disable ASPDEPR008 // Ignore IWebHost deprectation warnings +#pragma warning disable ASPDEPR004 // Ignore WebHostBuilder deprectation warnings + public class LoopbackHttpListener : IDisposable { private const int DefaultTimeout = 60 * 5; // 5 mins (in seconds) diff --git a/identity-server/clients/src/ConsoleResourceOwnerFlow/ConsoleResourceOwnerFlow.csproj b/identity-server/clients/src/ConsoleResourceOwnerFlow/ConsoleResourceOwnerFlow.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleResourceOwnerFlow/ConsoleResourceOwnerFlow.csproj +++ b/identity-server/clients/src/ConsoleResourceOwnerFlow/ConsoleResourceOwnerFlow.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleResourceOwnerFlowPublic/ConsoleResourceOwnerFlowPublic.csproj b/identity-server/clients/src/ConsoleResourceOwnerFlowPublic/ConsoleResourceOwnerFlowPublic.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleResourceOwnerFlowPublic/ConsoleResourceOwnerFlowPublic.csproj +++ b/identity-server/clients/src/ConsoleResourceOwnerFlowPublic/ConsoleResourceOwnerFlowPublic.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleResourceOwnerFlowReference/ConsoleResourceOwnerFlowReference.csproj b/identity-server/clients/src/ConsoleResourceOwnerFlowReference/ConsoleResourceOwnerFlowReference.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleResourceOwnerFlowReference/ConsoleResourceOwnerFlowReference.csproj +++ b/identity-server/clients/src/ConsoleResourceOwnerFlowReference/ConsoleResourceOwnerFlowReference.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleResourceOwnerFlowRefreshToken/ConsoleResourceOwnerFlowRefreshToken.csproj b/identity-server/clients/src/ConsoleResourceOwnerFlowRefreshToken/ConsoleResourceOwnerFlowRefreshToken.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleResourceOwnerFlowRefreshToken/ConsoleResourceOwnerFlowRefreshToken.csproj +++ b/identity-server/clients/src/ConsoleResourceOwnerFlowRefreshToken/ConsoleResourceOwnerFlowRefreshToken.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleResourceOwnerFlowUserInfo/ConsoleResourceOwnerFlowUserInfo.csproj b/identity-server/clients/src/ConsoleResourceOwnerFlowUserInfo/ConsoleResourceOwnerFlowUserInfo.csproj index e7159a91c..187eaedf7 100644 --- a/identity-server/clients/src/ConsoleResourceOwnerFlowUserInfo/ConsoleResourceOwnerFlowUserInfo.csproj +++ b/identity-server/clients/src/ConsoleResourceOwnerFlowUserInfo/ConsoleResourceOwnerFlowUserInfo.csproj @@ -1,7 +1,6 @@  - net9.0 Exe diff --git a/identity-server/clients/src/ConsoleScopesResources/ConsoleScopesResources.csproj b/identity-server/clients/src/ConsoleScopesResources/ConsoleScopesResources.csproj index 8ef2ce85e..d76d24ea3 100644 --- a/identity-server/clients/src/ConsoleScopesResources/ConsoleScopesResources.csproj +++ b/identity-server/clients/src/ConsoleScopesResources/ConsoleScopesResources.csproj @@ -1,7 +1,6 @@ - net9.0 Exe diff --git a/identity-server/clients/src/Constants/Constants.csproj b/identity-server/clients/src/Constants/Constants.csproj index d7805cede..22263cf36 100644 --- a/identity-server/clients/src/Constants/Constants.csproj +++ b/identity-server/clients/src/Constants/Constants.csproj @@ -1,9 +1,4 @@ - - - net8.0 - - diff --git a/identity-server/clients/src/JsOidc/JsOidc.csproj b/identity-server/clients/src/JsOidc/JsOidc.csproj index a375a6a27..9d51725bb 100644 --- a/identity-server/clients/src/JsOidc/JsOidc.csproj +++ b/identity-server/clients/src/JsOidc/JsOidc.csproj @@ -1,9 +1,4 @@  - - - net9.0 - - diff --git a/identity-server/clients/src/JsOidc/Program.cs b/identity-server/clients/src/JsOidc/Program.cs index df01b5ee2..c6b89fff9 100644 --- a/identity-server/clients/src/JsOidc/Program.cs +++ b/identity-server/clients/src/JsOidc/Program.cs @@ -5,6 +5,8 @@ using Microsoft.AspNetCore; namespace JsOidc; +#pragma warning disable ASPDEPR008 // Ignore IWebHost deprectation warnings + public class Program { public static void Main(string[] args) => BuildWebHost(args).Run(); diff --git a/identity-server/clients/src/MvcAutomaticTokenManagement/MvcAutomaticTokenManagement.csproj b/identity-server/clients/src/MvcAutomaticTokenManagement/MvcAutomaticTokenManagement.csproj index 428a9e09a..db59e1957 100644 --- a/identity-server/clients/src/MvcAutomaticTokenManagement/MvcAutomaticTokenManagement.csproj +++ b/identity-server/clients/src/MvcAutomaticTokenManagement/MvcAutomaticTokenManagement.csproj @@ -1,9 +1,5 @@ - - - net9.0 - - + diff --git a/identity-server/clients/src/MvcCode/MvcCode.csproj b/identity-server/clients/src/MvcCode/MvcCode.csproj index 3d9ece70b..6a5bfddbb 100644 --- a/identity-server/clients/src/MvcCode/MvcCode.csproj +++ b/identity-server/clients/src/MvcCode/MvcCode.csproj @@ -1,7 +1,6 @@ - net9.0 fe28de52-854d-4c0f-a6b5-20f8dea1f70d diff --git a/identity-server/clients/src/MvcDPoP/MvcDPoP.csproj b/identity-server/clients/src/MvcDPoP/MvcDPoP.csproj index 603a76b7b..5732793cd 100644 --- a/identity-server/clients/src/MvcDPoP/MvcDPoP.csproj +++ b/identity-server/clients/src/MvcDPoP/MvcDPoP.csproj @@ -1,9 +1,5 @@ - - - net9.0 - - + diff --git a/identity-server/clients/src/MvcHybridBackChannel/MvcHybridBackChannel.csproj b/identity-server/clients/src/MvcHybridBackChannel/MvcHybridBackChannel.csproj index bc533f2cc..4c913d800 100644 --- a/identity-server/clients/src/MvcHybridBackChannel/MvcHybridBackChannel.csproj +++ b/identity-server/clients/src/MvcHybridBackChannel/MvcHybridBackChannel.csproj @@ -1,9 +1,4 @@ - - - net9.0 - - diff --git a/identity-server/clients/src/MvcJarJwt/MvcJarJwt.csproj b/identity-server/clients/src/MvcJarJwt/MvcJarJwt.csproj index 428a9e09a..67a947aca 100644 --- a/identity-server/clients/src/MvcJarJwt/MvcJarJwt.csproj +++ b/identity-server/clients/src/MvcJarJwt/MvcJarJwt.csproj @@ -1,7 +1,8 @@ - + - net9.0 + + net9.0;net10.0 diff --git a/identity-server/clients/src/MvcJarUriJwt/MvcJarUriJwt.csproj b/identity-server/clients/src/MvcJarUriJwt/MvcJarUriJwt.csproj index 428a9e09a..67a947aca 100644 --- a/identity-server/clients/src/MvcJarUriJwt/MvcJarUriJwt.csproj +++ b/identity-server/clients/src/MvcJarUriJwt/MvcJarUriJwt.csproj @@ -1,7 +1,8 @@ - + - net9.0 + + net9.0;net10.0 diff --git a/identity-server/clients/src/Web/Web.csproj b/identity-server/clients/src/Web/Web.csproj index 3aa9c9c94..76cc73d89 100644 --- a/identity-server/clients/src/Web/Web.csproj +++ b/identity-server/clients/src/Web/Web.csproj @@ -1,7 +1,8 @@ - + - net9.0 + + net9.0;net10.0 enable enable diff --git a/identity-server/clients/src/WindowsConsoleSystemBrowser/WindowsConsoleSystemBrowser.csproj b/identity-server/clients/src/WindowsConsoleSystemBrowser/WindowsConsoleSystemBrowser.csproj index 41bfa548e..3b851ccbc 100644 --- a/identity-server/clients/src/WindowsConsoleSystemBrowser/WindowsConsoleSystemBrowser.csproj +++ b/identity-server/clients/src/WindowsConsoleSystemBrowser/WindowsConsoleSystemBrowser.csproj @@ -2,7 +2,6 @@ Exe - net9.0 win-x64 diff --git a/samples.props b/samples.props index f8fc1d9c4..54e9a8228 100644 --- a/samples.props +++ b/samples.props @@ -2,6 +2,7 @@ + net8.0;net9.0;net10.0 true false false @@ -21,4 +22,4 @@ true - \ No newline at end of file + diff --git a/src.props b/src.props index cf043eb36..010b4b20f 100644 --- a/src.props +++ b/src.props @@ -1,6 +1,9 @@ + + net8.0;net9.0;net10.0 + Duende Software Duende Software Duende Software diff --git a/templates.props b/templates.props index 7fb9c5072..7ac4c71db 100644 --- a/templates.props +++ b/templates.props @@ -1,7 +1,7 @@ Template - net8.0;net9.0 + net8.0;net9.0;net10.0 true false en-US @@ -56,4 +56,4 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - \ No newline at end of file + diff --git a/test.props b/test.props index aa10cbd75..61a33ca95 100644 --- a/test.props +++ b/test.props @@ -1,6 +1,7 @@ + net8.0;net9.0;net10.0 latest full false