You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.6 KiB
53 lines
2.6 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net461;netcoreapp3.1;net6.0;netstandard2.0;netstandard2.1</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Description>System.Net.Http integration package for the OpenIddict validation services.</Description>
|
|
<PackageTags>$(PackageTags);http;httpclient;validation</PackageTags>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\OpenIddict.Validation\OpenIddict.Validation.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Http.Polly" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup
|
|
Condition=" ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '3.0'))) Or
|
|
('$(TargetFrameworkIdentifier)' == '.NETFramework') Or
|
|
('$(TargetFrameworkIdentifier)' == '.NETStandard' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '2.1'))) ">
|
|
<!--
|
|
Note: while brought transitively by the Microsoft.Extensions.Http.Polly package, the Polly.Extensions.Http
|
|
dependency is explicitly added on .NET Standard <2.1, .NET Framework and .NET Core <3.0 to work around a
|
|
breaking change introduced between Polly 6.x and 7.x and force both this package and applications that
|
|
reference OpenIddict.Validation.SystemNetHttp to use the latest Polly version (7.x) on these platforms.
|
|
-->
|
|
|
|
<PackageReference Include="Polly.Extensions.Http" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup
|
|
Condition=" ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '5.0'))) Or
|
|
('$(TargetFrameworkIdentifier)' == '.NETFramework') Or
|
|
('$(TargetFrameworkIdentifier)' == '.NETStandard') ">
|
|
<PackageReference Include="System.Net.Http.Json" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="System.Net.Http.Json" />
|
|
<Using Include="OpenIddict.Abstractions" />
|
|
<Using Include="OpenIddict.Abstractions.OpenIddictConstants" Static="true" />
|
|
<Using Include="OpenIddict.Abstractions.OpenIddictResources" Alias="SR" />
|
|
<Using Include="OpenIddict.Validation.OpenIddictValidationEvents" Static="true" />
|
|
<Using Include="OpenIddict.Validation.OpenIddictValidationHandlers" Static="true" />
|
|
<Using Include="OpenIddict.Validation.OpenIddictValidationHandlerFilters" Static="true" />
|
|
<Using Include="OpenIddict.Validation.SystemNetHttp.OpenIddictValidationSystemNetHttpHandlers" Static="true" />
|
|
<Using Include="OpenIddict.Validation.SystemNetHttp.OpenIddictValidationSystemNetHttpHandlerFilters" Static="true" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|