Creating a Project with a Static Project Folder Name.
Is there a way to create a project in a solution template using a static project folder name instead of the actual project name? This is my solution template:
I want the $WebSiteName$ project to be created under a folder named WebSiteFiles instead of the input of the Create Solution Wizard.
JasonClement Tuesday, November 20, 2007 9:56 PM
Hi Jason, No, you can't do that, maybe you can try using the UnfoldTemplateAction or the DTE methods. AddFromTemplate, AddFromFile, etc.
hth. jose.
Jose Escrich Thursday, December 06, 2007 8:01 PM
Hi Jason, No, you can't do that, maybe you can try using the UnfoldTemplateAction or the DTE methods. AddFromTemplate, AddFromFile, etc.
hth. jose.
Jose Escrich Thursday, December 06, 2007 8:01 PM
Yeah, I had to use the DTE. I was hoping somebody would have know an easier way to do it. I basically:
Removed the generated project from the solution. Copied the old project folder into a new WebSiteFiles folder Added the project to the solution again. Went back and deleted all old project files
It was a pain, but the project has to be in a WebSiteFiles folder so Team Foundation Server can publish those pages to a web server. Thanks for reassuring me that I was on the right track.