Click to See Complete Forum and Search --> : Configure a project directory structure
jhammer
November 13th, 2005, 07:14 AM
Is there a way to tell the 2005 IDE where to put the files when creating a new project.
For example: When I create a new project I would like the wizard to automatically create a Source directory, Include directory and so on. Today it puts everything together in a flat manner.
How can I configure the wizard for that?
cilu
November 13th, 2005, 11:12 AM
I don't think you can do that. You can do that manually after creating the project. Is not such a big deal. And you can remove from the project the few files automatically generated by the wizard, move them to the directories you want and then add them again.
Files and folders automatically generated are created using templates. You can try to write a wizard template by your own. Look in the installation directory, VC\VCWizards. There are the templates used for generating files and directories for a project.
Andreas Masur
November 13th, 2005, 11:16 AM
I wouldn't know of any possibility other than writing your own add-in...
jhammer
November 13th, 2005, 03:49 PM
Thanks. Doing it manually is what I have done so far, but I really want to automate the process.
Any idea how to program such a add-in? or create such a template?
Andreas Masur
November 13th, 2005, 04:07 PM
Automation and Extensibility for Visual Studio (http://msdn2.microsoft.com/en-us/library/xc52cke4.aspx)...
cilu
November 13th, 2005, 05:00 PM
Thanks. Doing it manually is what I have done so far, but I really want to automate the process.
Any idea how to program such a add-in? or create such a template?
One thing is for sure: it is easier to do that manually that writing such an add-on. Oh well, perhaps things are different with VS 2005. :rolleyes:
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.