Skip to content

Commit ce290f1

Browse files
committed
support .NET 9
1 parent 46fe3cf commit ce290f1

12 files changed

+92
-20
lines changed

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.404",
3+
"version": "9.0.200",
44
"rollForward": "latestFeature"
55
}
66
}

nuget/Auth0.OidcClient.AndroidX.nuspec

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package>
44
<metadata>
55
<id>Auth0.OidcClient.AndroidX</id>
6-
<version>4.1.0</version>
6+
<version>4.2.0</version>
77
<authors>Auth0</authors>
88
<owners>Auth0</owners>
99
<license type="expression">Apache-2.0</license>
@@ -12,6 +12,9 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>Auth0 OIDC Client for Xamarin AndroidX apps</description>
1414
<releaseNotes>
15+
Version 4.2.0
16+
- Support .NET 9
17+
1518
Version 4.1.0
1619
- Upgrade to .NET 8
1720
- Bump Auth0.OidcClient.Core to use v4.0.1
@@ -83,6 +86,8 @@
8386
<file src="..\src\Auth0.OidcClient.AndroidX\bin\Release\monoandroid12.0\Auth0.OidcClient.xml" target="lib\MonoAndroid12" />
8487
<file src="..\src\Auth0.OidcClient.AndroidX\bin\Release\net8.0-android\Auth0.OidcClient.dll" target="lib\net8.0-android33.0.95" />
8588
<file src="..\src\Auth0.OidcClient.AndroidX\bin\Release\net8.0-android\Auth0.OidcClient.xml" target="lib\net8.0-android33.0.95" />
89+
<file src="..\src\Auth0.OidcClient.AndroidX\bin\Release\net9.0-android\Auth0.OidcClient.dll" target="lib\net9.0-android33.0.95" />
90+
<file src="..\src\Auth0.OidcClient.AndroidX\bin\Release\net9.0-android\Auth0.OidcClient.xml" target="lib\net9.0-android33.0.95" />
8691
<file src="..\build\Auth0Icon.png" />
8792
</files>
8893
</package>

nuget/Auth0.OidcClient.MAUI.nuspec

+38-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>Auth0.OidcClient.MAUI</id>
5-
<version>1.1.0</version>
5+
<version>1.2.0</version>
66
<authors>Auth0</authors>
77
<owners>Auth0</owners>
88
<license type="expression">Apache-2.0</license>
@@ -11,6 +11,9 @@
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>Auth0 OIDC Client for MAUI apps</description>
1313
<releaseNotes>
14+
Version 1.2.0
15+
- Support .NET 9
16+
1417
Version 1.1.0
1518
- Upgrade to .NET 8
1619

@@ -57,6 +60,29 @@
5760
<dependency id="IdentityModel.OidcClient" version="5.2.1" />
5861
<dependency id="Microsoft.WindowsAppSDK" version="1.5.240627000" />
5962
</group>
63+
<group targetFramework="net9.0">
64+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
65+
<dependency id="IdentityModel.OidcClient" version="5.2.1" />
66+
</group>
67+
<group targetFramework="net9.0-android33.0.95">
68+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
69+
<dependency id="IdentityModel.OidcClient" version="5.2.1" />
70+
</group>
71+
<group targetFramework="net9.0-ios16.4.7142">
72+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
73+
<dependency id="IdentityModel.OidcClient" version="5.2.1" />
74+
<dependency id="System.Runtime.InteropServices.NFloat.Internal" version="6.0.1" />
75+
</group>
76+
<group targetFramework="net9.0-maccatalyst16.4.7142">
77+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
78+
<dependency id="IdentityModel.OidcClient" version="5.2.1" />
79+
<dependency id="System.Runtime.InteropServices.NFloat.Internal" version="6.0.1" />
80+
</group>
81+
<group targetFramework="net9.0-windows10.0.20348.0">
82+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
83+
<dependency id="IdentityModel.OidcClient" version="5.2.1" />
84+
<dependency id="Microsoft.WindowsAppSDK" version="1.5.240627000" />
85+
</group>
6086
</dependencies>
6187
</metadata>
6288
<files>
@@ -71,6 +97,17 @@
7197
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net8.0-windows10.0.20348.0\Auth0.OidcClient.dll" target="lib\net8.0-windows10.0.20348.0" />
7298
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net8.0-windows10.0.20348.0\Auth0.OidcClient.xml" target="lib\net8.0-windows10.0.20348.0" />
7399
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net8.0-windows10.0.20348.0\Auth0.OidcClient.MAUI.Platforms.Windows.dll" target="lib\net8.0-windows10.0.20348" />
100+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0\Auth0.OidcClient.dll" target="lib\net9.0" />
101+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0\Auth0.OidcClient.xml" target="lib\net9.0" />
102+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-android\Auth0.OidcClient.dll" target="lib\net9.0-android33.0.95" />
103+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-android\Auth0.OidcClient.xml" target="lib\net9.0-android33.0.95" />
104+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-ios\Auth0.OidcClient.dll" target="lib\net9.0-ios16.4.7142" />
105+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-ios\Auth0.OidcClient.xml" target="lib\net9.0-ios16.4.7142" />
106+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-maccatalyst\Auth0.OidcClient.dll" target="lib\net9.0-maccatalyst16.4.7142" />
107+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-maccatalyst\Auth0.OidcClient.xml" target="lib\net9.0-maccatalyst16.4.7142" />
108+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-windows10.0.20348.0\Auth0.OidcClient.dll" target="lib\net9.0-windows10.0.20348.0" />
109+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-windows10.0.20348.0\Auth0.OidcClient.xml" target="lib\net9.0-windows10.0.20348.0" />
110+
<file src="..\src\Auth0.OidcClient.MAUI\bin\Release\net9.0-windows10.0.20348.0\Auth0.OidcClient.MAUI.Platforms.Windows.dll" target="lib\net9.0-windows10.0.20348" />
74111
<file src="..\build\Auth0Icon.png" />
75112
<file src="..\src\Auth0.OidcClient.MAUI\README.md" />
76113
</files>

nuget/Auth0.OidcClient.WPF.nuspec

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package>
44
<metadata>
55
<id>Auth0.OidcClient.WPF</id>
6-
<version>4.1.0</version>
6+
<version>4.2.0</version>
77
<authors>Auth0</authors>
88
<owners>Auth0</owners>
99
<license type="expression">Apache-2.0</license>
@@ -12,6 +12,9 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>Auth0 OIDC Client for WPF apps</description>
1414
<releaseNotes>
15+
Version 4.2.0
16+
- Support .NET 9
17+
1518
Version 4.1.0
1619
- Upgrade to .NET 8
1720
- Bump Auth0.OidcClient.Core to use v4.0.1
@@ -149,6 +152,10 @@
149152
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
150153
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
151154
</group>
155+
<group targetFramework="net9.0-windows7.0">
156+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
157+
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
158+
</group>
152159
</dependencies>
153160
</metadata>
154161
<files>
@@ -158,6 +165,8 @@
158165
<file src="..\src\Auth0.OidcClient.WPF\bin\Release\netcoreapp3.1\Auth0.OidcClient.xml" target="lib\netcoreapp3.1" />
159166
<file src="..\src\Auth0.OidcClient.WPF\bin\Release\net8.0-windows\Auth0.OidcClient.dll" target="lib\net8.0-windows7.0" />
160167
<file src="..\src\Auth0.OidcClient.WPF\bin\Release\net8.0-windows\Auth0.OidcClient.xml" target="lib\net8.0-windows7.0" />
168+
<file src="..\src\Auth0.OidcClient.WPF\bin\Release\net9.0-windows\Auth0.OidcClient.dll" target="lib\net9.0-windows7.0" />
169+
<file src="..\src\Auth0.OidcClient.WPF\bin\Release\net9.0-windows\Auth0.OidcClient.xml" target="lib\net9.0-windows7.0" />
161170
<file src="..\build\Auth0Icon.png" />
162171
</files>
163172
</package>

nuget/Auth0.OidcClient.WinForms.nuspec

+16-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package>
44
<metadata>
55
<id>Auth0.OidcClient.WinForms</id>
6-
<version>4.1.0</version>
6+
<version>4.2.0</version>
77
<authors>Auth0</authors>
88
<owners>Auth0</owners>
99
<license type="expression">Apache-2.0</license>
@@ -12,6 +12,9 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>Auth0 OIDC Client for WinForms apps</description>
1414
<releaseNotes>
15+
Version 4.2.0
16+
- Support .NET 9
17+
1518
Version 4.1.0
1619
- Upgrade to .NET 8
1720
- Bump Auth0.OidcClient.Core to use v4.0.1
@@ -135,11 +138,19 @@
135138
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
136139
</group>
137140
<group targetFramework="netcoreapp3.1">
138-
<dependency id="Auth0.OidcClient.Core" version="4.0.0" />
141+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
139142
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
140143
</group>
141144
<group targetFramework="net6.0-windows7.0">
142-
<dependency id="Auth0.OidcClient.Core" version="4.0.0" />
145+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
146+
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
147+
</group>
148+
<group targetFramework="net8.0-windows7.0">
149+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
150+
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
151+
</group>
152+
<group targetFramework="net9.0-windows7.0">
153+
<dependency id="Auth0.OidcClient.Core" version="4.0.1" />
143154
<dependency id="Microsoft.Web.WebView2" version="1.0.1823.32"/>
144155
</group>
145156
</dependencies>
@@ -151,6 +162,8 @@
151162
<file src="..\src\Auth0.OidcClient.WinForms\bin\Release\netcoreapp3.1\Auth0.OidcClient.xml" target="lib\netcoreapp3.1" />
152163
<file src="..\src\Auth0.OidcClient.WinForms\bin\Release\net8.0-windows\Auth0.OidcClient.dll" target="lib\net8.0-windows7.0" />
153164
<file src="..\src\Auth0.OidcClient.WinForms\bin\Release\net8.0-windows\Auth0.OidcClient.xml" target="lib\net8.0-windows7.0" />
165+
<file src="..\src\Auth0.OidcClient.WinForms\bin\Release\net9.0-windows\Auth0.OidcClient.dll" target="lib\net9.0-windows7.0" />
166+
<file src="..\src\Auth0.OidcClient.WinForms\bin\Release\net9.0-windows\Auth0.OidcClient.xml" target="lib\net9.0-windows7.0" />
154167
<file src="..\build\Auth0Icon.png" />
155168
</files>
156169
</package>

nuget/Auth0.OidcClient.iOS.nuspec

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package>
44
<metadata>
55
<id>Auth0.OidcClient.iOS</id>
6-
<version>4.1.0</version>
6+
<version>4.2.0</version>
77
<authors>Auth0</authors>
88
<owners>Auth0</owners>
99
<license type="expression">Apache-2.0</license>
@@ -12,6 +12,9 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>Auth0 OIDC Client for Xamarin iOS apps</description>
1414
<releaseNotes>
15+
Version 4.2.0
16+
- Support .NET 9
17+
1518
Version 4.1.0
1619
- Upgrade to .NET 8
1720
- Bump Auth0.OidcClient.Core to use v4.0.1
@@ -130,6 +133,8 @@
130133
<file src="../src/Auth0.OidcClient.iOS/bin/Release/xamarin.ios10/Auth0.OidcClient.xml" target="lib\Xamarin.iOS10" />
131134
<file src="../src/Auth0.OidcClient.iOS/bin/Release/net8.0-ios/Auth0.OidcClient.dll" target="lib\net8.0-ios16.4.7142" />
132135
<file src="../src/Auth0.OidcClient.iOS/bin/Release/net8.0-ios/Auth0.OidcClient.xml" target="lib\net8.0-ios16.4.7142" />
136+
<file src="../src/Auth0.OidcClient.iOS/bin/Release/net9.0-ios/Auth0.OidcClient.dll" target="lib\net9.0-ios16.4.7142" />
137+
<file src="../src/Auth0.OidcClient.iOS/bin/Release/net9.0-ios/Auth0.OidcClient.xml" target="lib\net9.0-ios16.4.7142" />
133138
<file src="..\build\Auth0Icon.png" />
134139
</files>
135140
</package>

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

+1-1
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;net8.0-android</TargetFrameworks>
3+
<TargetFrameworks>MonoAndroid12.0;net8.0-android;net9.0-android</TargetFrameworks>
44
<RootNamespace>Auth0.OidcClient</RootNamespace>
55
<AssemblyName>Auth0.OidcClient</AssemblyName>
66
<Product>Auth0.OidcClient</Product>

src/Auth0.OidcClient.MAUI.Platforms.Windows/Auth0.OidcClient.MAUI.Platforms.Windows.csproj

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

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

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

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
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>
4+
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.20348.0;net9.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'">16.4.7142</SupportedOSPlatformVersion>
11-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">16.4.7142</SupportedOSPlatformVersion>
12-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">33.0.95</SupportedOSPlatformVersion>
10+
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net8.0-ios'">16.4.7142</SupportedOSPlatformVersion>
11+
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net8.0-maccatalyst'">16.4.7142</SupportedOSPlatformVersion>
12+
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net8.0-android'">33.0.95</SupportedOSPlatformVersion>
13+
14+
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net9.0-ios'">18.0</SupportedOSPlatformVersion>
15+
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net9.0-maccatalyst'">18.0</SupportedOSPlatformVersion>
16+
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net9.0-android'">34</SupportedOSPlatformVersion>
1317

1418
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.20348.0</SupportedOSPlatformVersion>
1519
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
1620

17-
1821
<RootNamespace>Auth0.OidcClient</RootNamespace>
1922
<AssemblyName>Auth0.OidcClient</AssemblyName>
2023

@@ -28,7 +31,7 @@
2831
<ItemGroup>
2932
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
3033
</ItemGroup>
31-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows10.0.20348.0'">
34+
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
3235
<ProjectReference Include="..\Auth0.OidcClient.MAUI.Platforms.Windows\Auth0.OidcClient.MAUI.Platforms.Windows.csproj" />
3336
</ItemGroup>
3437
<ItemGroup>

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

+1-1
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;net8.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;netcoreapp3.1;net8.0-windows;net9.0-windows</TargetFrameworks>
44
<OutputType>library</OutputType>
55
<RootNamespace>Auth0.OidcClient</RootNamespace>
66
<AssemblyName>Auth0.OidcClient</AssemblyName>

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

+1-1
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;net8.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;netcoreapp3.1;net8.0-windows;net9.0-windows</TargetFrameworks>
44
<OutputType>Library</OutputType>
55
<RootNamespace>Auth0.OidcClient</RootNamespace>
66
<AssemblyName>Auth0.OidcClient</AssemblyName>

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

+1-1
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;net8.0-ios</TargetFrameworks>
3+
<TargetFrameworks>xamarin.ios10;net8.0-ios;net9.0-ios</TargetFrameworks>
44
<RootNamespace>Auth0.OidcClient</RootNamespace>
55
<AssemblyName>Auth0.OidcClient</AssemblyName>
66
<AssemblyTitle>Auth0.OidcClient.iOS</AssemblyTitle>

0 commit comments

Comments
 (0)