6

This would probably be right under my nose but I am having a hard time finding it.

I am trying to create an event receiver in Visual Studio 2012. From this video in YouTube I gather that in Visual Studio 2010 you go to File > New > Project and inside the new Project dialog box SharePoint > 2010 and select Event Receiver. So it looks something like this:

enter image description here

But in Visual Studio 2012 I am unable to find any template for Event Receiver. I tried searching for "event" & "event receiver" in Search Installed Templates text box on New Project Dialog but still got no result.

8

You cannot add an event receiver through the "Add new project" dialog. What you do is create an empty sharepoint project first. Then just right click on said sharepoint project, click add new item, go to Office/SharePoint and choose Event Receiver. See my screenshot.

My VS2012

  • 1
    Okay... Thanks, it worked. But why did Microsoft take out this option and left the rest of them like Web Part intact? – Naveen Dec 16 '13 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.