I need to debug my feature receiver, so I set up few breakpoints, but when I hit F5 in VS2010, they are all missed, and it says that "The breakpoint will not currently be hit. No symbols have been loaded for this document." What should I do to be able to debug my feature receiver?
Please follow this tutorial, I have done it thousands of time and it always work the same way.
Also the dlls are deployed in GAC , so make sure change the settings. Follow this article
First try rebuilding your project If that doesn't work, try to clean the project.
If that also doesn't work follow these steps.
- Right click your project
- Select [Properties]
- Select the [Build] tab
- Make sure [Define DEBUG constant] and [Define TRACE constant] are checked
- Click the [Advanced] button at the bottom of the Build tabpage
- Make sure that [Debug Info] is set to [full]
- Click [OK] and rebuild the project