File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,9 @@ module FSharpAnalyzers =
230230// Target Implementations
231231//-----------------------------------------------------------------------------
232232
233+ /// So we don't require always being on the latest MSBuild.StructuredLogger
234+ let disableBinLog ( p : MSBuild.CliArguments ) = { p with DisableInternalBinLog = true }
235+
233236let clean _ =
234237 [
235238 " bin"
@@ -265,6 +268,7 @@ let dotnetRestore _ =
265268 DotNet.restore
266269 ( fun c -> {
267270 c with
271+ MSBuildParams = disableBinLog c.MSBuildParams
268272 Common =
269273 c.Common
270274 |> DotNet.Options.withAdditionalArgs args
@@ -294,6 +298,7 @@ let dotnetBuild ctx =
294298 DotNet.build
295299 ( fun c -> {
296300 c with
301+ MSBuildParams = disableBinLog c.MSBuildParams
297302 Configuration = configuration ( ctx.Context.AllExecutingTargets)
298303 Common =
299304 c.Common
@@ -341,6 +346,7 @@ let dotnetTest ctx =
341346
342347 {
343348 c with
349+ MSBuildParams = disableBinLog c.MSBuildParams
344350 Configuration = configuration ( ctx.Context.AllExecutingTargets)
345351 Common =
346352 c.Common
Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ let allPublishChecks () =
301301// Target Implementations
302302//-----------------------------------------------------------------------------
303303
304+ /// So we don't require always being on the latest MSBuild.StructuredLogger
305+ let disableBinLog ( p : MSBuild.CliArguments ) = { p with DisableInternalBinLog = true }
304306
305307let clean _ =
306308 [
@@ -339,6 +341,7 @@ let dotnetRestore _ =
339341 DotNet.restore
340342 ( fun c -> {
341343 c with
344+ MSBuildParams = disableBinLog c.MSBuildParams
342345 Common =
343346 c.Common
344347 |> DotNet.Options.withCustomParams ( Some( args))
@@ -369,6 +372,7 @@ let dotnetBuild ctx =
369372 DotNet.build
370373 ( fun c -> {
371374 c with
375+ MSBuildParams = disableBinLog c.MSBuildParams
372376 Configuration = configuration ( ctx.Context.AllExecutingTargets)
373377 Common =
374378 c.Common
@@ -428,6 +432,7 @@ let dotnetTest ctx =
428432
429433 {
430434 c with
435+ MSBuildParams = disableBinLog c.MSBuildParams
431436 Configuration = configuration ( ctx.Context.AllExecutingTargets)
432437 Common =
433438 c.Common
@@ -570,6 +575,7 @@ let dotnetPack ctx =
570575 DotNet.pack
571576 ( fun c -> {
572577 c with
578+ MSBuildParams = disableBinLog c.MSBuildParams
573579 Configuration = configuration ( ctx.Context.AllExecutingTargets)
574580 OutputPath = Some distDir
575581 Common =
Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ let allPublishChecks () =
269269//-----------------------------------------------------------------------------
270270
271271
272+ /// So we don't require always being on the latest MSBuild.StructuredLogger
273+ let disableBinLog ( p : MSBuild.CliArguments ) = { p with DisableInternalBinLog = true }
274+
272275let clean _ =
273276 [
274277 " bin"
@@ -305,6 +308,7 @@ let dotnetRestore _ =
305308 DotNet.restore
306309 ( fun c -> {
307310 c with
311+ MSBuildParams = disableBinLog c.MSBuildParams
308312 Common =
309313 c.Common
310314 |> DotNet.Options.withCustomParams ( Some( args))
@@ -334,6 +338,7 @@ let dotnetBuild ctx =
334338 DotNet.build
335339 ( fun c -> {
336340 c with
341+ MSBuildParams = disableBinLog c.MSBuildParams
337342 Configuration = configuration ( ctx.Context.AllExecutingTargets)
338343 Common =
339344 c.Common
@@ -392,6 +397,7 @@ let dotnetPack ctx =
392397 DotNet.pack
393398 ( fun c -> {
394399 c with
400+ MSBuildParams = disableBinLog c.MSBuildParams
395401 Configuration = configuration ( ctx.Context.AllExecutingTargets)
396402 OutputPath = Some distDir
397403 Common =
You can’t perform that action at this time.
0 commit comments