-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Intermittent System.IO Errors During Build, Rebuild, and Clean Operations #26316
Comments
This issue was moved to dotnet/runtime#110328 |
May be fixed with #25374 But, do you have multiple projects with images that have the same name? It may be a case where a class library has a MauiImage and the app also has a MauiImage, and if they have the same name then the app will try and generate the different images with the same name at the same time. However, the PR does add a bit of delay and retry logic that will help in other cases where the IDE and tooling builds are locking files. |
No, I'm using only one project running from an external HDD. |
Also see: #23268 |
I found a new similar error:
|
This issue has been moved from a ticket on Developer Community.
[severity:It bothers me. A fix would be nice]
Hello,
I am encountering an intermittent issue with Visual Studio 2022 during the build, rebuild, and clean operations for any project. The problem does not occur consistently, but when it happens, it throws System.IO errors such as:
"File in use by another process"
"The directory is not empty"
These errors are unpredictable and can happen across various projects. Often, simply retrying the operation (build, rebuild, or clean) resolves the issue.
Here are some additional details about the problem:
This is an example of log:
Or:
Thank you for your assistance!
Original Comments
Feedback Bot on 11/27/2024, 07:43 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: