ligershark / template-builder

This project will output a NuGet package which can be used to help create Visual Studio Item Templates and Project templates
Other
42 stars 28 forks source link

Extra solution folder getting created in multi project templates #101

Closed YugankNarula closed 7 years ago

YugankNarula commented 7 years ago

Hi,

I have created a multi Project template and published it in VS via VSIX. My problem is when I create a new project via the multi project template an extra solution folder is getting created which contains all the projects and solution file is getting created one level up the hierarchy.

Actual result:- SoltnName folder --> SoltnName Folder ------>Project1Folder ------>Project2Folder --> Solutn File

Expected Result: SoltnName folder ---->Project1Folder ---->Project2Folder ----> Solutn File

I found workaround for this by creating wizard where wizard implementation contain code to move projects one level up the hierarchy. I can see at the directory level it remove the extra folder & move the projects one level up the directory but in the solution it's still showing an extra folder and it is shown as the first item in Solution file itself. Below is the link where solution is given. https://github.com/ligershark/template-builder/tree/6184bec12552ed32bfc573a05a01bb9f57514b97/src/TemplateBuilder

So, how can i remove it from the solution?