2

If I create a MVC Project in Visual Studio, I can right click on the folder Controllers and get a custom dialog in the Add submenu which very nicely recommends adding a Controller:

enter image description here

How do I do this for my VS Project Template and Item Template?

  • I have a 2017 VS Project template that creates the folder Jobs
  • I have a 2017 VS Item template that exposes a new Item Job

How can I register that I want the Job Item Template to appear first when a user clicks on the Jobs folder and navigates to the Add submenu?

--

Similar questions:

Philip Pittle
  • 11,821
  • 8
  • 59
  • 123
  • I've been poking around the VS Templates for asp.net core, but don't see anything customizing the behavior of the Controllers folder: https://github.com/aspnet/Templates – Philip Pittle Jul 20 '17 at 01:34

0 Answers0