mirror of
https://github.com/Radarr/Radarr
synced 2025-02-26 16:13:19 +00:00
18 lines
709 B
Text
18 lines
709 B
Text
|
<Project>
|
||
|
|
||
|
<Target Name="FixBindingRedirects"
|
||
|
AfterTargets="ResolveAssemblyReferences"
|
||
|
BeforeTargets="GenerateBindingRedirects">
|
||
|
|
||
|
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(RuntimeIdentifier)' == 'linux-x64'">
|
||
|
<SuggestedBindingRedirects Remove="System.Net.Http, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and $(RuntimeIdentifier.StartsWith('win'))">
|
||
|
<SuggestedBindingRedirects Remove="System.Runtime.InteropServices.RuntimeInformation, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
</Target>
|
||
|
|
||
|
</Project>
|