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

Plugin causes subsequent builds to fail by trying to open CacheClient.log log again #85

Closed
AArnott opened this issue Sep 6, 2024 · 1 comment · Fixed by #88
Closed

Comments

@AArnott
Copy link
Member

AArnott commented Sep 6, 2024

The first build is fine, except that the CacheClient.log file remains locked, as evident by failed attempts to delete it, and subsequent attempts to build failing with:

MSBUILD : warning : BeginBuildAsync failed after 14 ms: System.IO.IOException: The process cannot access the file 'CacheClient.log' because it is being used by another process.

@dfederm
Copy link
Member

dfederm commented Sep 6, 2024

Note to self from investigation: We dispose the BXL Logger object, but that apparently doesn't dispose the underlying ILog instances (FileLog in our case), leading to the log file handle not being closed.

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