KirillOsenkov/MSBuildStructuredLog

Analyzer / Generator summary doesn't display on non-English builds

Opened this issue · 1 comments

The analyzer and generator summary nodes are created by looking for the following strings in a Message node in the binary log:

  • Total analyzer execution time:
  • Total generator execution time:

That marks the beginning of the summary output and the viewer will parse out the nodes below that. The problem is that those strings in the compiler are localizable strings. That means on non-English builds they will have different values. The strings in the viewer are hard coded. That means they won't match and the viewer won't produce summary nodes for analyzers or generators.

I'm not sure what the best way is to fix this. The compiler needs to emit localized messages here as it's part of the standard compiler output that is localized. There is no reasonable way for the viewer to match this across locale's.

Open to suggestions on how to best approach this problem.

if you have a sample binlog, can you send it to me?