@Mike Yeager , If you don't want to delete the app cache manually, I recommend that you could write the code to delete the files in advance.
Code:
if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed)
{
string path = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\" + "AppData\\Local\\Apps\\2.0";//Get file cache path
MessageBox.Show(path); //check if path is correct
System.IO.DirectoryInfo di = new DirectoryInfo(path);
foreach (FileInfo file in di.GetFiles())
{
file.Delete(); //delete all files
}
foreach (DirectoryInfo dir in di.GetDirectories())
{
dir.Delete(true); //delete all folders
}
}
You could put the above code in the Window_Load event.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.