Unable to copy file obj\Debug\WindowsFormsApp1.exe to bin\Debug\WindowsFormsApp1.exe. The process cannot access the file bin\Debug\WindowsFormsApp1.exe because it is being used by another process. WindowsFormsApp1.
Could not copy "obj\Debug\WindowsFormsApp1.exe" to "bin\Debug\WindowsFormsApp1.exe". Exceeded retry count of 10. Failed. The file is locked by: "WindowsFormsApp1 (11808)" WindowsFormsApp1
Hello guys what can I do with this...? I'm used to visual studio pro version 2019. I've tried and research many resources everywhere still not find and desperate to being now. Please help what can I do for know. I'm working on a pos software project right now and having a problem. When I download getting set up completed with warnings that couldn't install Microsoft.visualstudio.aspnet45.feature.
Having any solution?
Try these steps:
1) make sure that Windows Update option turns on and if there is any update, please update it.
2) run CMD as Administrator and then input the following command:
DISM.exe /Online /Cleanup-image /Restorehealthand
DISM.exe /Online /Cleanup-image /startcomponentcleanupNote that it might take several minutes for the command to complete.
3) Run the following command:
sfc /scannowandsc config trustedinstaller start=auto4) reboot the system.
5) turn off any any anti-virus or any anti-malware
6) then Repair the install from the VS Installer
For this problem, you should shut down any
WindowsFormsApp1.exeInstance on Task Manager and then restart it just as dxiv said.