Skip to content
This repository was archived by the owner on Feb 23, 2025. It is now read-only.

Commit 0966fcb

Browse files
update targets
1 parent c4c8600 commit 0966fcb

File tree

4 files changed

+25
-13
lines changed

4 files changed

+25
-13
lines changed

src/IdentityTokenValidator/IdentityTokenValidator.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
<ItemGroup>
3737
<PackageReference Include="minver" Version="3.0.0-alpha.1" PrivateAssets="All" />
3838

39-
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.12.0" />
40-
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
41-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
39+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.15.0" />
40+
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
41+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
4242
</ItemGroup>
4343

4444
<ItemGroup>

src/OidcClient/OidcClient.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
<PackageReference Include="IdentityModel" Version="5.2.0" />
4141
<PackageReference Include="minver" Version="3.0.0-alpha.1" PrivateAssets="All" />
4242

43-
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
44-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
43+
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
44+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
4545
</ItemGroup>
4646

4747
</Project>

test/JwtValidationTests/JwtValidationTests.csproj

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

3-
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
4-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
5-
</PropertyGroup>
3+
<!--Conditional compilation-->
64
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
7-
<TargetFrameworks>net472;netcoreapp3.1;net5.0</TargetFrameworks>
5+
<TargetFrameworks>net472;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' and '$(NETCoreSdkPortableRuntimeIdentifier)' != 'osx-arm64' ">
9+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
10+
</PropertyGroup>
11+
12+
<PropertyGroup Condition=" '$(NETCoreSdkPortableRuntimeIdentifier)' == 'osx-arm64' ">
13+
<TargetFrameworks>net6.0</TargetFrameworks>
814
</PropertyGroup>
915

1016
<PropertyGroup>

test/OidcClient.Tests/OidcClient.Tests.csproj

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

3-
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
4-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
5-
</PropertyGroup>
3+
<!--Conditional compilation-->
64
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
7-
<TargetFrameworks>net472;netcoreapp3.1;net5.0</TargetFrameworks>
5+
<TargetFrameworks>net472;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' and '$(NETCoreSdkPortableRuntimeIdentifier)' != 'osx-arm64' ">
9+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
10+
</PropertyGroup>
11+
12+
<PropertyGroup Condition=" '$(NETCoreSdkPortableRuntimeIdentifier)' == 'osx-arm64' ">
13+
<TargetFrameworks>net6.0</TargetFrameworks>
814
</PropertyGroup>
915

1016
<PropertyGroup>

0 commit comments

Comments
 (0)