diff --git a/build.cake b/build.cake index 93d76a1ca..c1ffd67ce 100644 --- a/build.cake +++ b/build.cake @@ -279,7 +279,7 @@ Task("Repack-Ckan") .Combine(configuration) .Combine("bin") .Combine(buildNetFramework)))); - // Need netstandard.dll facade to instantiate types from ValveKeyValue on Mono + // Need facade to instantiate types from netstandard2.0 DLLs on Mono assemblyPaths.Add(FacadesDirectory().CombineWithFilePath("netstandard.dll")); var ckanLogFile = repackDirectory.Combine(configuration) .CombineWithFilePath($"ckan.log"); @@ -338,6 +338,8 @@ Task("Repack-Netkan") var netkanLogFile = repackDirectory.Combine(configuration) .CombineWithFilePath($"netkan.log"); var assemblyPaths = GetFiles(string.Format("{0}/*.dll", netkanBinDirectory)); + // Need facade to instantiate types from netstandard2.0 DLLs on Mono + assemblyPaths.Add(FacadesDirectory().CombineWithFilePath("netstandard.dll")); ReportRepacking(netkanFile, netkanLogFile); ILRepack( netkanFile, @@ -429,6 +431,7 @@ Task("Test-UnitTests+Only") { Configuration = configuration, NoBuild = true, + NoLogo = true, Filter = where, ResultsDirectory = nunitOutputDirectory, Verbosity = DotNetVerbosity.Minimal, @@ -441,6 +444,7 @@ Task("Test-UnitTests+Only") Configuration = "NoGUI", Framework = "net7.0", NoBuild = true, + NoLogo = true, Filter = where, ResultsDirectory = nunitOutputDirectory, Verbosity = DotNetVerbosity.Minimal, @@ -455,6 +459,7 @@ Task("Test-UnitTests+Only") Configuration = configuration, Where = where, Work = nunitOutputDirectory, + NoHeader = true, // Work around System.Runtime.Remoting.RemotingException : Tcp transport error. Process = NUnit3ProcessOption.InProcess, });