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

Commit c3ecdc5

Browse files
add net472 target
1 parent aeb37ed commit c3ecdc5

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/IdentityModel.csproj

+3-6
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,21 @@
3131

3232
<!--Conditional compilation-->
3333
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
34-
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
34+
<TargetFrameworks>net461;net472;netstandard2.0</TargetFrameworks>
3535
</PropertyGroup>
3636
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
3737
<TargetFramework>netstandard2.0</TargetFramework>
3838
</PropertyGroup>
3939

4040
<ItemGroup>
41-
<PackageReference Include="minver" Version="2.0.0">
42-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
43-
<PrivateAssets>all</PrivateAssets>
44-
</PackageReference>
41+
<PackageReference Include="minver" Version="2.0.0" PrivateAssets="All" />
4542

4643
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
4744
<PackageReference Include="System.Text.Encodings.Web" Version="4.5.0" />
4845
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19554-01" PrivateAssets="All" />
4946
</ItemGroup>
5047

51-
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
48+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'net472'">
5249
<Reference Include="System.Net.Http" />
5350
</ItemGroup>
5451

test/UnitTests/UnitTests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<!--Conditional compilation-->
77
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
8-
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0</TargetFrameworks>
8+
<TargetFrameworks>net461;net472;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0</TargetFrameworks>
99
</PropertyGroup>
1010
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
1111
<TargetFramework>netcoreapp2.1</TargetFramework>
@@ -40,7 +40,7 @@
4040
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.2.0" />
4141
</ItemGroup>
4242

43-
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
43+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' or $(TargetFramework) == 'net472'">
4444
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
4545
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.0.1" />
4646
</ItemGroup>

0 commit comments

Comments
 (0)