从项目模板生成的特定文件夹中添加Visual Studio项目模板以添加对话框

Add Visual Studio Item Template to Add dialog on Specific Folder generated from Project Template

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: