Monday, November 28, 2011

"The breakpoint will not currently be hit" and "SharePoint 2010 Event Not Firing"

Today I faced strange problem while moving my Visual Studio 2010 solution to different folder.
After moving the project I tried to run in debug mode and I had two problems:
1. Breakpoint: I got message in VS that "The breakpoint will not currently be hit. No symbols have been loaded for this document"

2. The event was not firing.

I google for the Breakpoint error and tried many solution.
I have even tried reinstalling Visual Studio 2010.

When I got tired I decided to do it my own.
I look around and found that the feature's  "ItemAdded" property was set to "False", I trued that to "True" and I thought I would work and it worked.

I still have the breakpoint problem but the code was breaking fine and event was firing too :)

I spent whole day so posting here not you.

No comments: