A strange problem arises on the production platform (server with a 64-bit win of 2008). It is associated with the File.Exists and File.Delete ... File.Delete .
On a test platform in debug (win xp), etc. It works great. On server 2008 for the first few times
File.Exists reported true for a file that does not exist ...
When I did further tests, File.Exists finally reported false for a file that was not there.
But File.Delete did not make mistakes when trying to delete a file that did not exist ...
What's happening...?
I read somewhere that system virtualization can ruin things ... but I did not find a single file: %userprofile%\AppData\Local\VirtualStore
source share