Helixbase icon indicating copy to clipboard operation
Helixbase copied to clipboard

Include VS templates for modules

Open richardszalay opened this issue 5 years ago • 3 comments

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

richardszalay avatar May 15 '19 03:05 richardszalay

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

muso31 avatar May 15 '19 07:05 muso31

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.

marcelgruber avatar May 15 '19 14:05 marcelgruber

@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

richardszalay avatar Jul 30 '19 01:07 richardszalay