Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add solution folder to visual studio project template

Is it possible to add a solution folders with the project template? If it's not built in functionality, is it possible to create a custom task for this?

like image 223
marcus Avatar asked Nov 20 '25 18:11

marcus


1 Answers

This is bit tricky. You cannot do this with simple project template. Project templates could operate only on single project level. To implement more advanced logic, you need to implement WizardExtension and register it within .vstemplate file of your template.

<WizardExtension>
    <Assembly>AssemblyInGACWithSomeLogic</Assembly>
    <FullClassName>MySuperWizardExtension</FullClassName>
</WizardExtension> 

You can find more about wizard extensions on MSDN.

like image 85
Mike Chaliy Avatar answered Nov 23 '25 06:11

Mike Chaliy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!