Skip to content

Commit 67cc98f

Browse files
committed
stop all the binlogging
1 parent b850d10 commit 67cc98f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

build/Program.fs

+10-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,16 @@ let init args =
5959
|> Seq.iter Shell.rm
6060
)
6161

62-
Target.create "Build" (fun _ -> DotNet.build id "")
62+
// Avoid msbuild loading issues: https://github.com/fsprojects/FAKE/issues/2515#issue-622856864
63+
let buildOpts (opts: DotNet.BuildOptions) = {
64+
opts with
65+
MSBuildParams = {
66+
opts.MSBuildParams with
67+
DisableInternalBinLog = true
68+
}
69+
}
70+
71+
Target.create "Build" (fun _ -> DotNet.build buildOpts "")
6372

6473
let testTFM tfm =
6574
exec "dotnet" $"test --blame --blame-hang-timeout 60s --no-build --framework {tfm} --logger trx --logger GitHubActions -c Release .\\test\\Ionide.ProjInfo.Tests\\Ionide.ProjInfo.Tests.fsproj" "."

0 commit comments

Comments
 (0)