I got this error today and was causing me a headache. I stopped all apps running in IIS Express, tried switching releases, etc. But seems like this is a bug in Visual Studio 2019.
Stop your application, close the solution, delete the .vs folder in the solution, open it back up and it should work.
Be First to Comment