I created a new event receiver and hooked it onto the Pages library for my publishing site. I attached each one of the events exposed, but I cannot get any of them to fire.
elements xml:
<Receivers ListTemplateId="850">
<Receiver>
<Name>PagesActivityItemAdding</Name>
<Type>ItemAdding</Type>
<Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
<Class>University.Activity.PagesActivity.PagesActivity</Class>
<SequenceNumber>10000</SequenceNumber>
</Receiver>
.....
</Receivers>
The template id is infact 850, I tried to verify this, and got 850 on all my searches.
This is for a publishing site.
Is the template id incorrect, and what would the correct template id be?
I'm trying to hit break-points just to see if it fires but as stated they just don't.