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

Bin logs not available for non-build targets #7

Open
mrward opened this issue Feb 4, 2023 · 2 comments
Open

Bin logs not available for non-build targets #7

mrward opened this issue Feb 4, 2023 · 2 comments

Comments

@mrward
Copy link
Owner

mrward commented Feb 4, 2023

Builds are OK, but other msbuild targets the Open Binary Log menu item is not enabled.

It seems the binlogs are being generated in the temporary directory but they are using a temporary filename not the name given to the TargetEvaluationContext.

@NickDarvey
Copy link

The "Open Binary Log File" is greyed out for me even though I'm doing Build on a Microsoft.NET.Sdk project. (I can see 'Build' listed as the target in the 'Build Logging' pane.)

Where's this temporary directory so I can see if it's generating any binlogs at all?

Visual Studio for Mac 17.5.7 (build 6)
Project System Tools v0.13-vsm17.5

@mrward
Copy link
Owner Author

mrward commented Jun 19, 2023

Binlogs are generated in the temp directory from System.IO.Path.GetTempDir(). On my machine this is also available from the terminal from the TMPDIR environment variable:

echo $TMPDIR

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

2 participants