Have you had a situation where you had to debug a DLL code referred from your existing .Net Assembly.
Possibly you could have added a reference…but still not able to step into your respective DLL even after adding project references and placing PDB in bin folder, then this tip of Visual Studio is for you…
First of all, here’s how to clear the Component Cache…
1. Close Visual Studio (ensure devenv.exe is not present in the Task Manager)
2. Delete the %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache directory
3. Restart Visual Studio.
You could also need to cleanup your user’s temp folder. It is usually located under %USERPROFILE%\AppData\Local\Temp.
Now try to debug and verify…possibly you need to try the user profile temp data clearing also.
If the above fails, you can go with approach…but be careful before proceeding…
Then, open the Visual Studio IDE folder in command prompt and Run
devenv /resetuserdata from the Visual Studio IDE folder.
Typical location for 64 bit:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
Typical location for 32 bit:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
Hope this helps…troubleshooting…