We help IT Professionals succeed at work.

SharePoint 2016 Creating an Event Receiver Issue with Event Sources

Last Modified: 2018-12-03
Running Visual Studio 2015 on a SharePoint 2016 dev server.  I want to create an event receiver.  I create a SharePoint 2016 empty project (Farm) and then click add new item.  I select event receiver and the drop down to select the event source does not show any of my lists or libraries.

I have run as on the Visual Studio 2015 IDE as farm admin and still not luck.

Is this a broken VS or is there a rights issue or...?

Please advise.
Watch Question

Piotr StrycharzSoftware/web developer

Some possible reasons:

  • You did not install feature that contains your list definitions
  • Your lists use build-in templates

You may however manually change Elements.xml in you event receiver definition to match your list template ID. This should be enough for the correct installation.
Howard BashSenior Software Engineer


I created a list using the out of the box custom list template and added a column or two.  What feature might be required?  Also,  I would think using a built in template (like custom list) should work by default.
Software/web developer
This one is on us!
(Get your first solution completely free - no credit card required)
Howard BashSenior Software Engineer


The list was created from an out of the box template using SharePoint, not code.  When I launch VS,  I don't see my list.   Shouldn't I see any list/library I create from the out of the box templates listed when I add the event receiver and must specify the event source?
Howard BashSenior Software Engineer


Also,  where is the List Template ID?  Is it the list id I see in SPD?
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.