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

Include VS templates for modules #25

Open
richardszalay opened this issue May 15, 2019 · 3 comments
Open

Include VS templates for modules #25

richardszalay opened this issue May 15, 2019 · 3 comments

Comments

@richardszalay
Copy link
Collaborator

Anders Laub's VsTemplates VS extension supports project-local templates by placing a .helixtemplates in the same folder as the solution file. It can then specify a relative folder (eg. HelixTemplates) that contain the Visual Studio templates and they'll automatically appear if you create a new project using the "Helix Project" template.

What do you think about including some templates for foundation/feature/project? It would be entirely optional by the user; the folder would be ignored if they don't have/use the Helix.VsTemplates extension.

Beyond the templates + manifests, here's what we'd need in the .helixtemplates file:

templates.modules.folder=HelixTemplates
templates.modules.skipcreatedialog=true
@muso31
Copy link
Owner

muso31 commented May 15, 2019

I think it's a good idea to get some templates added, it was on the list I just never got round to it!

@marcelgruber
Copy link

This would be awesome to have some preconfigured properties on certain file types. We often see that developers misconfigure build and copy properties which can cause problems, such as deploying web.configs and breaking upstream environments.

@richardszalay
Copy link
Collaborator Author

@marcelgruber Good point, though for your specific example setting Web.config to None isn't necessary as as WPP only includes the Web.config from the Website project

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