I have a web project with a production assembly and a test assembly. When I debug my code in Visal Studio 2017 Community Edition I can set breakpoints. But when I debug my test code then all of a sudden the breakpoints in the production assembly are not working anymore.
The tooltip shows this very familiar error message:
The breakpoint will not currently be hit. No symbols have been loaded for this document.
My project structure is that I have a project folder and inside the folder for the UnitTes project.
The namespace of my production assembly is MyProj.Web
and the namespace of my UnitTest project is MyProj.Web.UnitTests
.
I've checked if the bin\Debug folder of the test project contains everything needed, it does contain the test dll including pdbs, the production dll also including pdbs. I have checked if the code actually runs in this folder and it does.
I'm suspecting I've done something wrong here, but what?