Jump to content

How do I specify project template categories?


MJW

Recommended Posts

I made a project template for my own (somewhat peculiar) way of building PropertyBasedEffect plugins. Though it seems to work well, it only shows up in the New Project menu when All Languages is selected, and it doesn't have any of those tags underneath listing the categories, such as "C#" and "Windows" to show the type of projects it builds. In the vstemplate file the PropertyType is CSharp, and I've tried it in both the C# and Visual C# subfolders of the ProjectTemplates folder. I tried setting the ProjectSubType to CSharp, but it had no effect.

 

I tried a number of Internet searches to find out how to set the categories, to no avail. Part of my problem is I don't know the name for what I want to do -- whether it's "categories" or something entirely different..

 

Does anyone happen to know how to make the template appear in New Project under C#, and how to get the proper category tags listed with the template? (I assume those things are closely related.) It's obviously not critical that I get it the way I want it, but it just sort of bugs me that I can't

Link to comment
Share on other sites

  • MJW changed the title to How do I specify project template categories?

Thank you very much, @AndrewDavid!

 

For anyone wanting a summary, the solution is to add to the <TemplateData> in the .vstemplate file lines like the following:

    <LanguageTag>C#</LanguageTag>
    <PlatformTag>Windows</PlatformTag>
    <ProjectTypeTag>Plugin</ProjectTypeTag>

 

(I'm still having a bit of confusion, because though I changed the ProjectTypeTag from originally being Desktop to Plugin and re-Zipped the folder, the tag in VS New Project is still Desktop. I'll figure out what's going on later.)

 

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...