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

Complog should work when the output assembly doesn't exist #171

Closed
KirillOsenkov opened this issue Nov 3, 2024 · 2 comments · Fixed by #173
Closed

Complog should work when the output assembly doesn't exist #171

KirillOsenkov opened this issue Nov 3, 2024 · 2 comments · Fixed by #173

Comments

@KirillOsenkov
Copy link
Contributor

If Csc fails with errors, there's no output assembly, and complog fails with:

Missing file, either build did not happen on this machine or the environment has changed: C:\foo\obj\Debug\bar\net472\bar.dll
bar.csproj (net472)

It should tolerate this case and still create the complog

@KirillOsenkov
Copy link
Contributor Author

Oh, wait, it did create a complog file after all, the error wasn't fatal. Not sure why I thought it was an error in the first place, I should have checked.

Perhaps it would help if you print "Wrote C:\a\b\c\foo.complog"

@jaredpar
Copy link
Owner

jaredpar commented Nov 5, 2024

Perhaps it would help if you print "Wrote C:\a\b\c\foo.complog"

That's a good suggestion. Will add that.

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

Successfully merging a pull request may close this issue.

2 participants