I have created a multiproject template but in new project window I just want to see the parent template and not the child project templates as it gets confusing for users.
Is there a way to hide child project templates and disable them from showing in new project list?
Thanks.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@batizar Hmm, I'm surprised that's happening. @prnadago If you have a multi-project template, are the subprojects supposed to appear in the new project dialog box?
Inner templates within a project group are full-fledged templates and if they are in a location being looked up, they will show up.
If the intent is not use them directly, the inner templates need to be marked as hidden.
https://docs.microsoft.com/en-us/visualstudio/extensibility/hidden-element-visual-studio-templates?view=vs-2019
Hope this helps!
Thanks Pratik. I'll update the doc with this info too.
Thanks @prnadago, it worked. :D
Most helpful comment
Inner templates within a project group are full-fledged templates and if they are in a location being looked up, they will show up.
If the intent is not use them directly, the inner templates need to be marked as hidden.
https://docs.microsoft.com/en-us/visualstudio/extensibility/hidden-element-visual-studio-templates?view=vs-2019
Hope this helps!