1

I've written a multi-project .vstemplate file, which works alright, except that the projects have some external dependencies (.dll's) that I want to include with the template, as a peer directory to all the project directories, such that the generated solution looks like:

slndir
    lib # dependencies
    proj1
    proj2

I have everything except lib. Is there any way to generate this directory and deploy files into it?

Andrew Arnott
  • 80,040
  • 26
  • 132
  • 171

1 Answers1

1

I think there is no built-in way to create/add a folder directly under the solution.

However, vstemplate engine is extensible; If you implement the IWizard interface you'll be abble to add any custom logic you want.

Check out Craig Skibo's answer on this MSDN forum question for the details on using the DTE automation API from your IWizard.RunFinished method to add a solution item.