mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Fixed: Remove bad binding redirects in csproj
This commit is contained in:
parent
0b7c00bfe6
commit
ca9d9f093c
17
src/FixBindingRedirects.targets
Normal file
17
src/FixBindingRedirects.targets
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<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>
|
Loading…
Reference in New Issue
Block a user