When running my Delphi Project for the first time , it runs with no error. But the subsequent runs produces an error below:
[dcc32 Fatal Error] F2039 Could not create output file '.\Win32\Debug\Project1_p.exe'
I tried enabling my application Experience and setting it to automatic, as stated here with no luck. How to fix this permanently? Im using Delphi 10.1 Berlin.
UPDATE 1:
I know deleting the .exe, checking whether the executable is still running in the task manager and killing the process are the quick solutions. But I want a permanent fix.