'Visual Studio 2019 Hangs During Build Because It can't delete the old exe file

I have Visual Studio 2019.11.16.13 and having hanging issues with building running a winForms application inside the IDE. Visual Studio builds and runs the application on a fresh re-boot of the computer. But, as soon as I make a single code change and then try and re-build and run Visual Studio hangs and will eventually complete the build and run but after an extremely long period of time. Additionally, I can not go into the bin/debug or the bin/release folder and manually delete the exe file either during the building event or after I've killed Visual Studio in the task manager



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source