I have a simple dotnet core class library with a single XUnit test method:
TestLib.csproj:
Got this error, when trying to debug a unit test. Below are the steps I tried.
Yay!!! it worked :-) Never miss to try the last step ;-) Hope this helps someone like me.