vs 2022 acesso ao caminho negado
First check to see if you can delete the EXE. If you can't that means some process has a handle on it.
Run Process Explorer and do a search for TestApplication.exe to find what it is
Mohamed Sami khiari