-
Notifications
You must be signed in to change notification settings - Fork 57
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
System.ApplicationException: Unable to move PACKAGE_DIST - Access to the path is denied #776
Comments
Also get this on the dist_work folder. Workaround: go to root solution directory in windows, right click -> Properties, uncheck Read only(probably has a grey check), then apply and choose all subfolders/items when prompted. This clears the read-only flag from all the nested items and clears the error for me. Not real clear what root cause is though. It doesn't seem to reoccur for a given project once cleared. So maybe something when initially created is getting read-only flag. |
@SerratedSharp I tried the read-only thing, but didn't see a change. Not sure why, but hitting it constantly at the moment preventing me from building. |
@michael-hawker this may be related to hot reload, somehow. Can you try disabling it in VS? |
Thanks @jeromelaban, first two boxes were checked, I unchecked them and tried again: Same issue: |
I've been seeing this in the Toolkit builds on my machine for a while, thought it may go away once we moved from .NET 5 to .NET 7, but still see it:
If I rebuild/deploy then sometimes I hit it again and other times it's just fine, so seems like a race condition on disk or something?
Happened on version
7.0.27
I've seen it building the WASM heads for our all-up sample and for individual component samples.
The text was updated successfully, but these errors were encountered: