Hi guys
I've got a custom VS solution template that calls a library that implements IWizard. Within RunFinished() I've got some code that does the following:
- Creates a new folder called MAIN just under the new project folder root
- Saves everthing in the solution
- Closes the solution
- Runs a PowerShell script which moves eveyrthing to MAIN
- Re-opens the solution from the new MAIN folder
Through a series of MessageBox.Shows I'm able to see everything is happening as I want, but once the IWizard library is done running, something is creating another folder of the same project name at the same level as MAIN.
Here's an example:
- Create new project called Foo under D:\VS_Projects
- D:\VS_Projects now has a folder called Foo and another folder under Foo called Foo
- IWizard library runs and creates MAIN under D:\VS_Projects\Foo
- The very last line of my IWizard library does a MessageBox.Show saying "All done". I look at the folder structure before closing the messagebox popup and it's exactly what I want - d:\vs_projects\Foo\Main\...
- IWizard exits and then I get a new folder created beside MAIN called Foo. So now I have D:\VS_Projects\Foo\MAIN AND D:\VS_Projects\Foo\Foo
Any ideas where this folder is being created from and how to disable?
Tks
Steven