From 31ae08544f8843e823c8b349689fa64d490fbb0c Mon Sep 17 00:00:00 2001 From: flightlevel Date: Sun, 12 Aug 2018 16:49:52 +1000 Subject: [PATCH] Remove System.Runtime.InteropServices.RuntimeInformation.dll from Mono build https://github.com/Jackett/Jackett/issues/3547 --- build.cake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.cake b/build.cake index cb0cab8ea..f348245b0 100644 --- a/build.cake +++ b/build.cake @@ -142,6 +142,12 @@ Task("Experimental-Kestrel-Mono-Full-Framework") var configFile = File(buildOutputPath + "/JackettConsole.exe.config"); XmlPoke(configFile, "configuration/runtime/*[name()='assemblyBinding']/*[name()='dependentAssembly']/*[name()='assemblyIdentity'][@name='System.Net.Http']/../*[name()='bindingRedirect']/@newVersion", "4.0.0.0"); + //Mono on FreeBSD doesn't like the bundled System.Runtime.InteropServices.RuntimeInformation + //https://github.com/dotnet/corefx/issues/23989 + //https://github.com/Jackett/Jackett/issues/3547 + + DeleteFile(buildOutputPath + "/System.Runtime.InteropServices.RuntimeInformation.dll"); + Gzip("./BuildOutput/Experimental/net461/linux-x64", $"./{artifactsDirName}", "Jackett", "Jackett.Binaries.Mono.tar.gz"); });