Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Project folder created after deleting with IWizard extension

$
0
0

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:

  1. Creates a new folder called MAIN just under the new project folder root
  2. Saves everthing in the solution
  3. Closes the solution
  4. Runs a PowerShell script which moves eveyrthing to MAIN
  5. 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:

  1. Create new project called Foo under D:\VS_Projects
  2. D:\VS_Projects now has a folder called Foo and another folder under Foo called Foo
  3. IWizard library runs and creates MAIN under D:\VS_Projects\Foo
  4. 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\...
  5. 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


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>