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

Directory not found exception during clean dead versions #1883

Open
KarlNylander opened this issue Jun 20, 2024 · 0 comments
Open

Directory not found exception during clean dead versions #1883

KarlNylander opened this issue Jun 20, 2024 · 0 comments

Comments

@KarlNylander
Copy link

Squirrel version(s)
Which version(s) of the project are you using?

Description
We occasionally get a System.IO.DirectoryNotFoundException during cleaning of dead versions. This only happens rarely (in our case about 12 times since the end of 2021 from what I can find).

warn: ApplyReleasesImpl: Failed to clean dead versions, continuing anyways: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admin\AppData\Local\Project\packages\RELEASES'.

Not sure if this is an issue that you're already aware of or not since it seems to happen so rarely.

Steps to recreate
We have not been able to reproduce this issue since it happens so rarely.

Expected behavior
It should clean the dead versions since the path is correct.

Actual behavior
It seems that the path can't be found which result in an error and crash.

Additional information
The longest gap we went without it was about 1 year, but this year it has happened almost once a month so it doesn't seem to be consistent.

@Squirrel Squirrel deleted a comment from Zarck7 Aug 20, 2024
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

1 participant