Reputation: 29
I have a dotNet MAUI application that creates a file in the user's AppData/Roaming directory. Running under the Visual Studio debugger, the application creates files that I can see in Windows Explorer.
But when I try to delete the files so I can perform a clean start trial, the application is reading a completely different set of files to the ones I can see in Windows Explorer.
The program will read in data from the file 'MAE5-...' despite the fact it is nowhere to be seen!
I can delete the files from the program but not via the shell.
One possibility is some sort of weird file system corruption, another is Visual Studio is running my program in some sort of virtual machine. I haven't asked for that to happen.
As described above, I tried to delete files so I could perform a fresh test and can't because somehow files in AppData/Roaming are being cached somewhere. Is there some way to flush this cache?
Upvotes: 0
Views: 138