Skip to content

How to output MSBuild binary logs when using roslyn 4.9.0 or later #71950

Answered by jasonmalinowski
filzrev asked this question in Q&A
Discussion options

You must be logged in to vote

Ah yes, I didn't finalize that, did I. 😦

The challenge now is with that rewrite MSBuildWorkspace now does the builds out-of-process. This solves a huge number of problems that people have MSBuildWorkspace but it means I can't easily pass around the ILogger to the other process anymore. And I can of course have each process write out a binlog (we actually have support for that already) but you won't always have a single binlog. I've reached out to the MSBuild team to see if they have something ready-made for doing cross-process logging and merging, but if not we'll have to figure out a better plan. I'm not sure how tricky redoing that ourselves will be, so we might have to do some compromi…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JoeRobich
Comment options

@filzrev
Comment options

@jasonmalinowski
Comment options

@filzrev
Comment options

@jasonmalinowski
Comment options

Answer selected by filzrev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants