Can i define where project/item templates show up in the new "project/item" dialog?

Jul 7, 2014 at 5:01 AM
I want to define where my project template shows up in the new project dialog. I would like my custom node within the C#/Desktop subnode.

I didnt see any property that stood out that made sense. Suggestions?
Coordinator
Jul 7, 2014 at 8:01 AM
Hi john, yes you can do this, but the toolkit does not provide an easy abstraction for you to do it.

Various properties in the <TemplateData> area control where in the AddNewProject and AddNewItem dialogs

You simply manually edit your VSTemplate, and change the properties like:
  • ProjectType
  • ProjectSubType
AKAIKR: VS 2010, VS2012, VS2013 may treat these properties differently, you need to consult the MSDN documentation (http://msdn.microsoft.com/en-us/library/xwkxbww4.aspx).
Marked as answer by jezzsa on 7/7/2014 at 1:02 AM
Jul 7, 2014 at 4:30 PM
Hi Jezzsa,
Based on this http://msdn.microsoft.com/en-us/library/bb286985.aspx it looks like just setting a vstemplate option wouldn't work. Am i misreading that? Also would the projectsubtype be something like "mycustomtemplates\john\" where that would look like in the new project dialog something like the following

CSharp
---Windows Desktop
------ mycustomtemplates
--------- John