Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cataggar opened this issue May 26, 2023 · 6 comments

Comments

@cataggar
Copy link
Contributor

cataggar commented May 26, 2023

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
Copy link
Contributor

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

@cataggar
Copy link
Contributor Author

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

@cataggar
Copy link
Contributor Author

This will be fixed by #2746.

@cataggar
Copy link
Contributor Author

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

#r "nuget: MSBuild.StructuredLogger, 2.1.820"

@gtbuchanan
Copy link

Duplicate of #2744

@JohnDoeKyrgyz
Copy link

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

dtchepak added a commit to dtchepak/NSubstitute that referenced this issue Apr 20, 2024
Update MSBuild StructuredLogger version[1] to fix this error:

> Unsupported log file format. Latest supported version is 16,
> the log file has version 17.


[1]: fsprojects/FAKE#2748
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants