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

Include build file source by default in .binlog files #50

Open
dsplaisted opened this issue Apr 20, 2018 · 3 comments
Open

Include build file source by default in .binlog files #50

dsplaisted opened this issue Apr 20, 2018 · 3 comments

Comments

@dsplaisted
Copy link
Member

When you use the MSBuild /bl command line option, by default the ProjectImports option is set to "Embed", which means you get the source text of project files, including all imported projects and target files, embedded in the .binlog. If this information is embedded in the .binlog, then MSBuild Structured Log Viewer makes it easy to see the definition for targets that are run, or search through the source files, etc.

It would be very helpful if the VS extension would also include this information in the .binlogs it creates by default.

@kygagner
Copy link

Absolutely agree with this request. For some reason it used to work for me and now it does not. I suspect a Visual Studio update thing.

@kkm000
Copy link

kkm000 commented Oct 20, 2018

Yes, yes, pretty please! I came here to find a trick how to do exactly that!

@panopticoncentral
Copy link
Contributor

Finally got to take a look at this but there's an issue... the problem is that the ProjectImports option depends on the build doing the evaluation and the build in one go. In the case of VS, evaluation and builds are done separately -- we evaluate the project when we open it, and then we later do design-time and regular builds separately. What I'm seeing is that with the option set, you only get the project file itself, no imports, which is of iffy usefulness. @KirillOsenkov any ideas?

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

4 participants