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.
64 lines
2.7 KiB
64 lines
2.7 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>
|
|
net461;
|
|
netcoreapp3.1;
|
|
net6.0;
|
|
net7.0;
|
|
netstandard2.0;
|
|
netstandard2.1
|
|
</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Description>System.Net.Http integration package for the OpenIddict client services.</Description>
|
|
<PackageTags>$(PackageTags);http;httpclient;validation</PackageTags>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\OpenIddict.Client\OpenIddict.Client.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.Client.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>
|
|
<Compile Include="..\..\shared\OpenIddict.Extensions\*\*.cs" />
|
|
</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.Client.OpenIddictClientEvents" Static="true" />
|
|
<Using Include="OpenIddict.Client.OpenIddictClientHandlers" Static="true" />
|
|
<Using Include="OpenIddict.Client.OpenIddictClientHandlerFilters" Static="true" />
|
|
<Using Include="OpenIddict.Client.SystemNetHttp.OpenIddictClientSystemNetHttpHandlers" Static="true" />
|
|
<Using Include="OpenIddict.Client.SystemNetHttp.OpenIddictClientSystemNetHttpHandlerFilters" Static="true" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|