Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create individual templates for multiple projects in the same VSIX package #36

Open
justintcgplayer opened this issue Jul 19, 2018 · 2 comments

Comments

@justintcgplayer
Copy link

I have a solution with two projects, ConsoleApp and WebApp. I would like to create a VSIX that includes two project templates: one for ConsoleApp and one for WebApp (NOTE: I do not want a single template that creates both projects, I want one for each).

If I Create Template for each of these projects and then build the VSIX, it only creates a single template for one of the projects.

@avrahamcool
Copy link

avrahamcool commented Jul 30, 2018

I am also very intrested in that same feature.
eventually , I canould like to have one extention on the marketplace that would add multiple project templates to VS.

EDIT:
maybe it's already doable? (looks like that he wanted here)
but I don't understand how to do it..

@sayedihashimi
Copy link
Member

Sorry for the late reply. I think you're running into the issue that @avrahamcool linked to above (#35).

The issue is that the names of the .vstemplate files needs to be unique. So just change the name of the second template to something else. The file just has to have .vstemplate as the extension.
I think we could improve SideWaffle to help avoid this issue going forward.

To create a VSIX with multiple projects first create a template for one project as shown in my video. Then repeat those steps for the other project templates. Then go and change the names of the .vstemplate files, so that they are unique but still have the .vstemplate extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants