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

"dotnet new project-template" / "dotnet new item-template" #374

Closed
tintoy opened this issue Feb 25, 2017 · 7 comments
Closed

"dotnet new project-template" / "dotnet new item-template" #374

tintoy opened this issue Feb 25, 2017 · 7 comments

Comments

@tintoy
Copy link
Contributor

tintoy commented Feb 25, 2017

Hi.

Is anyone working on templates that create project / item templates? I've been doodling around on this, and if nobody else has I'd be happy to contribute what I've got after tidying it up.

@mlorbetske
Copy link
Contributor

Sounds great! If you want to distribute them on your own though, I know @sayedihashimi has been working with a bunch of folks on templates of different kinds too, he'd have some good info on how they're thinking of doing distribution and updating of their content. We're also going to be adding a section to the readme soon that lets people know who's been working on templates and where to get them from.

@sayedihashimi
Copy link
Member

Is anyone working on templates that create project / item templates?

This sounds like an interesting idea. I think this would be better executed as a community project (where I'm including myself in the community). In the past I've been a driver for the SideWaffle project, which is a popular template pack for VS2013/2015 and it leverages the existing .vstemplate infrastructure. The model that we used there was that we had a single repository for templates and a single .vsix which contained all the templates for VS users. Going forward we will be using the Template Engine to create templates and templates will be shipped in individual nuget packages instead of coming via a single .vsix. We haven't started this effort yet, but I'd like to get that going and I think your suggestion of project-template and item-template would be a good fit for that.

If you're interested we can discuss more with @RandomlyKnighted (SideWaffle core contributor) and get started with that. One thing we will have to figure out is how we can surface the templates we create in VS. We will likely need to create a custom wizard(s), and need some help from @mlorbetske to get going there.

@tintoy
Copy link
Contributor Author

tintoy commented Feb 26, 2017

I'm interested :)

@codewithtyler
Copy link

That sounds great. I'm a little behind on the dotnet new stuff at the moment. @sayedihashimi Do you know of any documentation or blog posts that talk about how to create a template with dotnet new and package it correctly for nuget? I'd like to look at the process and see what all is involved before we start everything.

@tintoy
Copy link
Contributor Author

tintoy commented Feb 26, 2017

I know you didn't ask me, but can at least offer a working sample that needs no extra tooling :-)

https://github.com/tintoy/ps-core-module-template

@sayedihashimi
Copy link
Member

I've created a new discussion at ligershark/side-waffle#401.

@RandomlyKnighted see

@mlorbetske
Copy link
Contributor

Since the template templates now exist and have been added to the Wiki (thanks @tintoy!) should this issue be closed?

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

4 participants