Skip to content

Commit 8275296

Browse files
committed
Upgrade to using dotnet 8
1 parent 55be6ab commit 8275296

File tree

19 files changed

+236
-54
lines changed

19 files changed

+236
-54
lines changed

global.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"sdk": {
3-
"version": "6.0.417",
4-
"rollForward": "latestFeature"
5-
}
2+
"sdk": {
3+
"version": "8.0.404B",
4+
"rollForward": "latestFeature"
5+
}
66
}

src/Auth0.OidcClient.Android/Auth0.OidcClient.Android.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</ProjectReference>
4747
</ItemGroup>
4848
<ItemGroup>
49-
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1">
49+
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0">
5050
</PackageReference>
5151
<PackageReference Include="Xamarin.Android.Support.CustomTabs" Version="28.0.0.3">
5252
</PackageReference>

src/Auth0.OidcClient.AndroidX/Auth0.OidcClient.AndroidX.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Xamarin.Legacy.Sdk/0.2.0-alpha4">
22
<PropertyGroup>
3-
<TargetFrameworks>MonoAndroid12.0;net6.0-android</TargetFrameworks>
3+
<TargetFrameworks>MonoAndroid12.0;net8.0-android</TargetFrameworks>
44
<RootNamespace>Auth0.OidcClient</RootNamespace>
55
<AssemblyName>Auth0.OidcClient</AssemblyName>
66
<Product>Auth0.OidcClient</Product>
@@ -40,7 +40,7 @@
4040
</ItemGroup>
4141
<ItemGroup>
4242
<PackageReference Include="IdentityModel.OidcClient">
43-
<Version>5.2.1</Version>
43+
<Version>6.0.0</Version>
4444
</PackageReference>
4545
<PackageReference Include="Xamarin.AndroidX.Browser">
4646
<Version>1.3.0.6</Version>

src/Auth0.OidcClient.Core/Auth0.OidcClient.Core.csproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<AssemblyOriginatorKeyFile>..\..\build\Auth0OidcClientStrongName.snk</AssemblyOriginatorKeyFile>
1414
</PropertyGroup>
1515
<ItemGroup>
16-
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
17-
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="6.34.0" />
16+
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
17+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
18+
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.2.1" />
1819
</ItemGroup>
1920
</Project>
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0-windows10.0.20348.0</TargetFrameworks>
55
<UseMaui>true</UseMaui>
66
<SingleProject>true</SingleProject>
77
<ImplicitUsings>enable</ImplicitUsings>
88

9-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
10-
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
9+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.20348.0</SupportedOSPlatformVersion>
10+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.20348.0</TargetPlatformMinVersion>
1111
</PropertyGroup>
1212

1313
</Project>

src/Auth0.OidcClient.MAUI/Auth0.OidcClient.MAUI.csproj

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.20348.0</TargetFrameworks>
66
<UseMaui>true</UseMaui>
77
<SingleProject>true</SingleProject>
88
<ImplicitUsings>enable</ImplicitUsings>
99

10-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">13.0</SupportedOSPlatformVersion>
11-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
12-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">29.0</SupportedOSPlatformVersion>
10+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">17.2</SupportedOSPlatformVersion>
11+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">17.2</SupportedOSPlatformVersion>
12+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">34.0</SupportedOSPlatformVersion>
1313

14-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
15-
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
14+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.20348.0</SupportedOSPlatformVersion>
15+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.20348.0</TargetPlatformMinVersion>
1616

1717

1818
<RootNamespace>Auth0.OidcClient</RootNamespace>
@@ -26,9 +26,9 @@
2626
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2727
</PropertyGroup>
2828
<ItemGroup>
29-
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
29+
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
3030
</ItemGroup>
31-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-windows10.0.19041.0'">
31+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows10.0.20348.0'">
3232
<ProjectReference Include="..\Auth0.OidcClient.MAUI.Platforms.Windows\Auth0.OidcClient.MAUI.Platforms.Windows.csproj" />
3333
</ItemGroup>
3434
<ItemGroup>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
33
<PropertyGroup>
4-
<TargetFrameworks>uap10.0.16299</TargetFrameworks>
4+
<TargetFrameworks>uap10.0.20348.0</TargetFrameworks>
55
<RootNamespace>Auth0.OidcClient</RootNamespace>
66
<AssemblyName>Auth0.OidcClient</AssemblyName>
77
<AssemblyTitle>Auth0.OidcClient.UWP</AssemblyTitle>
@@ -11,15 +11,15 @@
1111
<Version>3.4.1</Version>
1212
<DefaultLanguage>en-US</DefaultLanguage>
1313
<PlatformTarget>AnyCPU</PlatformTarget>
14-
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
15-
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.17763.0</TargetPlatformVersion>
16-
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
14+
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
15+
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.20348.0</TargetPlatformVersion>
16+
<TargetPlatformMinVersion>10.0.20348.0</TargetPlatformMinVersion>
1717
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
1818
<ErrorReport>prompt</ErrorReport>
1919
<WarningLevel>4</WarningLevel>
2020
<SignAssembly>true</SignAssembly>
2121
<AssemblyOriginatorKeyFile>..\..\build\Auth0OidcClientStrongName.snk</AssemblyOriginatorKeyFile>
22-
</PropertyGroup>
22+
</PropertyGroup>
2323
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2424
<DebugSymbols>true</DebugSymbols>
2525
<DebugType>full</DebugType>
@@ -32,13 +32,13 @@
3232
<Optimize>true</Optimize>
3333
<DocumentationFile>bin\Release\Auth0.OidcClient.XML</DocumentationFile>
3434
</PropertyGroup>
35-
<ItemGroup>
35+
<ItemGroup>
3636
<ProjectReference Include="..\Auth0.OidcClient.Core\Auth0.OidcClient.Core.csproj">
3737
<Project>{1F79DB59-F3A8-45B7-972B-ECD15259D1C9}</Project>
3838
<Name>Auth0.OidcClient.Core</Name>
3939
</ProjectReference>
4040
</ItemGroup>
4141
<ItemGroup>
42-
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
42+
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
4343
</ItemGroup>
4444
</Project>

src/Auth0.OidcClient.WPF/Auth0.OidcClient.WPF.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;netcoreapp3.1;net6.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;netcoreapp3.1;net8.0-windows</TargetFrameworks>
44
<OutputType>library</OutputType>
55
<RootNamespace>Auth0.OidcClient</RootNamespace>
66
<AssemblyName>Auth0.OidcClient</AssemblyName>
@@ -24,7 +24,7 @@
2424
</ItemGroup>
2525
<ItemGroup>
2626
<PackageReference Include="IdentityModel.OidcClient">
27-
<Version>5.2.1</Version>
27+
<Version>6.0.0</Version>
2828
</PackageReference>
2929
</ItemGroup>
3030
<Choose>

src/Auth0.OidcClient.WinForms/Auth0.OidcClient.WinForms.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;netcoreapp3.1;net6.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;netcoreapp3.1;net8.0-windows</TargetFrameworks>
44
<OutputType>Library</OutputType>
55
<RootNamespace>Auth0.OidcClient</RootNamespace>
66
<AssemblyName>Auth0.OidcClient</AssemblyName>
@@ -24,7 +24,7 @@
2424
</ItemGroup>
2525
<ItemGroup>
2626
<PackageReference Include="IdentityModel.OidcClient">
27-
<Version>5.2.1</Version>
27+
<Version>6.0.0</Version>
2828
</PackageReference>
2929
</ItemGroup>
3030
<Choose>

src/Auth0.OidcClient.iOS/Auth0.OidcClient.iOS.csproj

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Xamarin.Legacy.Sdk/0.2.0-alpha4">
22
<PropertyGroup>
3-
<TargetFrameworks>xamarin.ios10;net6.0-ios</TargetFrameworks>
3+
<TargetFrameworks>xamarin.ios10;net8.0-ios</TargetFrameworks>
44
<RootNamespace>Auth0.OidcClient</RootNamespace>
55
<AssemblyName>Auth0.OidcClient</AssemblyName>
66
<AssemblyTitle>Auth0.OidcClient.iOS</AssemblyTitle>
@@ -11,7 +11,8 @@
1111
<NeutralLanguage>en</NeutralLanguage>
1212
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
1313
<DefineConstants>$(DefineConstants);</DefineConstants>
14-
<LangVersion>default</LangVersion>
14+
<LangVersion>default</LangVersion>
15+
<UserSecretsId>e271153b-0df2-4197-83a5-30cd3e05c2e3</UserSecretsId>
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
1718
<DebugType>portable</DebugType>
@@ -40,7 +41,7 @@
4041
</ItemGroup>
4142
<ItemGroup>
4243
<PackageReference Include="IdentityModel.OidcClient">
43-
<Version>5.2.1</Version>
44+
<Version>6.0.0</Version>
4445
</PackageReference>
4546
</ItemGroup>
4647
</Project>

test/Android/Android.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</ItemGroup>
9090
<ItemGroup>
9191
<PackageReference Include="IdentityModel.OidcClient">
92-
<Version>5.2.1</Version>
92+
<Version>6.0.0</Version>
9393
</PackageReference>
9494
</ItemGroup>
9595
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
@@ -100,4 +100,4 @@
100100
<Target Name="AfterBuild">
101101
</Target>
102102
-->
103-
</Project>
103+
</Project>

0 commit comments

Comments
 (0)