Here's the structure of the solution
.NET 4.8 Framework
Windows form Solution- Consumer Project ,
.NET 4.8 Framework
class library project - Caller Project,
.NET 4.8 Framework
winform project. Consumer project has a project reference in Caller Project.
I have a weird situation here, I am trying to debug a method present in the Consumer project. But I am not able to debug it (break point never hits it) also , the method
is showing 0 references in Visual Studio 2019
. Apart from this, if I press CTRL+F12
or Go To Implementation
in Visual Studio , it shows a message box saying the symbol has no implementations
.
The winform
solution has many class library projects like this but the problem is coming with this library only.
Things that i have done so far.
- Removed that project/library reference from the another project(the caller) and build the solution, surprisingly its still compiling.
- Deleted .suo files and debug folder and restarted VS but nothing worked.
- I tried enabling/disabling the code lens feature in VS for showing the references but nothing worked.
It seems like the Consumer project is acting like a 3rd Party project reference whose code is not in the solution, but that's not true. All of this started when i deleted the debug folder of the solution, is this something related to symbols
? Any idea why is this happening ?
Thanks in advance.
Edit:
I do have checked the symbol loading part by following the accepted answer in below link and everything is in right place, the IDE is dumping the .pdb files and solution's .exe in the same place i.e. bin\Debug