I have vs 2010, moss 2010, and I'm trying to debug a custom timer job, so I've set breakpoints on the feature receiver, but when I run the project or just right click deploy, my break points are never met.
Here is the code, as you can see its just a standard feature receiver:
public class StructureImportEventReceiver : SPFeatureReceiver
{
const string List_JOB_NAME = "StructureImporter";
public override void FeatureActivated(SPFeatureReceiverProperties properties)
{
SPSite site = properties.Feature.Parent as SPSite;
// Break point is set on line above ... rest of code below
}
}
I guess if I could get the debugger to stop on this breakpoint, I could step through to the rest of the timer job, but alas... nothing. What am I doing wrong?