Buildalyzer icon indicating copy to clipboard operation
Buildalyzer copied to clipboard

Unsupported log file version

Open colombod opened this issue 2 years ago • 7 comments

with Buildazlyer 5 and my current sdk is 7.0.201 i get the following error

(Unsupported log file format. Latest supported version is 14, the log file has version 15.) ---> System.NotSupportedException: Unsupported log file format. Latest supported version is 14, the log file has version 15.

colombod avatar Mar 13 '23 11:03 colombod

What's the target of the project you're building?

daveaglick avatar Mar 13 '23 17:03 daveaglick

Net 7.0

colombod avatar Mar 13 '23 18:03 colombod

Any chance you could get a full stack trace as well, either by attaching to the process or some other way? I'm unable to replicate this with the 7.0.201 SDK installed and building a project that targets net7.0 - it appears to build find and get correctly analyzed by Buildalyzer.

daveaglick avatar Mar 13 '23 18:03 daveaglick

...or provide any more information that might help replicate the issue. It looks like MSBuild is using a more recent version of the structured logging support than Buildalyzer can recognize, but I can't figure out any way to replicate that difference locally (which means I've got no way of testing fixes).

daveaglick avatar Mar 13 '23 18:03 daveaglick

Same problem when using msbuild from .Net SDK version 6.0.101 with the -bl option to generate the binary logs and then analyze them with AnalyzerManager.Analyze method (Builalyzer version 5.0.0).

zonets avatar Mar 22 '23 19:03 zonets

Thanks @zonets, that'll hopefully give me something to go on.

daveaglick avatar Mar 22 '23 20:03 daveaglick

It's been a while, but a new version 6.0.2 is now released that updates some references and fixes some other bugs. I think it will have also updated the support log file formats by bumping the MSBuild libraries, but when either of you get a chance, please try it out and let me know. Thanks!

daveaglick avatar Dec 20 '23 16:12 daveaglick

Closing this issue due to lack of activity, if anything new, open a new one.

phmonte avatar Feb 16 '24 20:02 phmonte