Skip to content

Commit

Permalink
Update FAKE and disable internal bin logger
Browse files Browse the repository at this point in the history
The bin logger leads to a NotSupportedException if
the MSBuild version uses a log version not supported
by FAKE.

FAKE 6.0.0 cannot deal with MSBuild 17.5.0.6101.

See also: fsprojects/FAKE#2595
  • Loading branch information
hyazinthh committed Mar 8, 2023
1 parent 2c455d6 commit 9a912f0
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 136 deletions.
3 changes: 2 additions & 1 deletion aardpack/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,9 @@ let main args =
for f in files do
Log.start "%s" (Path.Relative(f, workdir))
f |> DotNet.build (fun o ->
{ o with
{ o with
NoLogo = true
MSBuildParams = { o.MSBuildParams with DisableInternalBinLog = true } // https://github.com/fsprojects/FAKE/issues/2595
Configuration = DotNet.BuildConfiguration.Release
Common = { o.Common with Verbosity = Some DotNet.Verbosity.Minimal; RedirectOutput = true }
}
Expand Down
10 changes: 5 additions & 5 deletions paket.dependencies
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source https://api.nuget.org/v3/index.json
redirects: off
framework: netstandard2.0, net6.0, netstandard2.1
framework: auto-detect
storage: none

nuget FSharp.Core >= 6.0.3 lowest_matching: true
Expand All @@ -11,10 +11,10 @@ nuget Microsoft.Build.Tasks.Core ~> 17.0.0
nuget Microsoft.Build.Framework ~> 17.0.0
nuget Microsoft.Build.Utilities.Core ~> 17.0.0

nuget Fake.Core.ReleaseNotes ~> 6.0.0-alpha004
nuget Fake.DotNet.Cli ~> 6.0.0-alpha004
nuget Fake.Tools.Git ~> 6.0.0-alpha004
nuget Fake.Api.GitHub ~> 6.0.0-alpha004
nuget Fake.Core.ReleaseNotes ~> 6.0.0
nuget Fake.DotNet.Cli ~> 6.0.0
nuget Fake.Tools.Git ~> 6.0.0
nuget Fake.Api.GitHub ~> 6.0.0

nuget Microsoft.NET.Test.Sdk ~> 15.5.0
nuget NUnit ~> 3.9.0
Expand Down
Loading

0 comments on commit 9a912f0

Please sign in to comment.