fsprojects / FAKE

FAKE - F# Make
https://fake.build
Other
1.28k stars 582 forks source link

Unsupported log file format. Latest supported version is 14, the log file has version 16. #2748

Closed cataggar closed 1 year ago

cataggar commented 1 year ago

Same as #2595, but newer. From that thread, it appears there are two workarounds. Add DisableInternalBinLog = true as an option to DotNet.build:

DotNet.build (fun o ->
                { o with
                    NoLogo = true
                    MSBuildParams = { o.MSBuildParams with DisableInternalBinLog = true }

Or request a newer version of https://www.nuget.org/packages/MSBuild.StructuredLogger in build.fsx:

#!/usr/bin/env -S dotnet fsi
#r "nuget: Fake.DotNet.Cli"
#r "nuget: Fake.Core.Target"
#r "nuget: MSBuild.StructuredLogger, 2.1.820"

I will be trying them out.

github-actions[bot] commented 1 year ago

Welcome to the FAKE community! Thank you so much for creating your first issue and therefore improving the project!

cataggar commented 1 year ago

Thanks @github-actions. I'm a newbie. ;-)

cataggar commented 1 year ago

This will be fixed by https://github.com/fsprojects/FAKE/pull/2746.

cataggar commented 1 year ago

To confirm, this workaround works and is the one I used:

#r "nuget: MSBuild.StructuredLogger, 2.1.820"
gtbuchanan commented 1 year ago

Duplicate of #2744

JohnDoeKyrgyz commented 11 months ago

When can we expect a new NuGet package to be released with this fix?