Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Conversation

@abodalevsky
Copy link
Contributor

If by some reason persistent storage file was deleted while application is running, next time when CodePush tries to access it it crashes with the following exception:
System.IO.FileNotFoundException: Could not find file 'C:\Users\USER_NAME\AppData\Local\PATH_TO_APP\CodePush\CodePush'.

The fix is, if file was deleted - recreate the storage file. Of course all settings will be lost when file was deleted.

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file should be created by Visual Studio dynamically

@sergey-akhalkov
Copy link
Contributor

Hi @abodalevsky, thanks for the contribution, LGTM.

@sergey-akhalkov sergey-akhalkov merged commit fe97452 into microsoft:master Jun 22, 2017
@abodalevsky abodalevsky deleted the fix-wpf/file-not-found-exception branch August 24, 2017 08:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants