When debuggingProgram, Error, correct and re-compile
Visual Studio has encountered an error during compilation, and the file cannot be opened. debug // exe
Restarting vs does not work either.
The folder cannot be deleted.
He is running or a program is using this file.
This EXE file does not exist in process management, so it can only be used by files
Open the procexp search in Microsoft sysinternals to find the truth.
Find this information
Process: ravmond.exe
Type: handle
Handle or dll: e :...... // Debug //....... EXE
The last point is the file that cannot be run.
Ravmond is a process in rising.
Everything is clear: the incorrect EXE file may be regarded as a dangerous file by anti-virus software, so it is monitored by anti-virus software.
Solution: I tried to shut down all the monitoring functions of rising stars, but the ravmond.exe process was still running and failed. Ravmond.exe cannot be closed.
In the end, it was a success after a machine was replaced.