Hello,
have create a multiproject template as explained at the article:
http://msdn.microsoft.com/msdnmag/issues/06/01/CodeTemplates/
It is working and creating all the projects I've added, but when it creates
the solution first it creates the main folder solution, adds the .sln file
there and then it creates a new folder into it with the same name for
storing
all the projects. I want the project folders to be created into the same
folder than the .sln file. Is it possible? In fact, when you add a project
manually to the solution that is the way vs.net behaves, so, why the
multiproject template creates an additional folder?
Thank you.
My multiproject template is:
<VSTemplate Version="2.0.0" Type="ProjectGroup"
xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>CAQ Module Template</Name>
<Description>This template contains all the projects for creating a
module.</Description>
<ProjectType>CSharp</ProjectType>
<Icon>__TemplateIcon.ico</Icon>
<DefaultName>Module</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
</TemplateData>
<TemplateContent>
<ProjectCollection>
<ProjectTemplateLink>
.\Datasets\Datasets.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink>
.\Interfaces\Interfaces.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink>
.\DataLayer\DataLayer.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink>
.\Rules\Rules.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink>
.\WinUI\WinUI.vstemplate
</ProjectTemplateLink>
</ProjectCollection>
</TemplateContent>
<WizardExtension>
<Assembly>Babtec.CaqNet.WinForms.UILibrary.Design, Version=6.0.0.2,
Culture=Neutral, PublicKeyToken=e20876ffd03a21a4</Assembly>
<FullClassName>Babtec.CaqNet.WinForms.UILibrary.Design.ModuleCreationWizard</FullClassName>
</WizardExtension>
</VSTemplate>
Yan-Hong Huang[MSFT] - 01 Feb 2006 07:35 GMT
Hello Juan,
Our IDE support engineer is out of office today. We are looking for
engineer who is familar with it and will reply you here as soon as
possible. If you have any more concerns, please feel free to post here.
Thanks very much for your patience.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://msdn.microsoft.com/subscriptions/managednewsgroups/
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary Chang[MSFT]" - 02 Feb 2006 11:15 GMT
Hi Juan,
>but when it creates the solution first it creates the main folder
>solution, adds the .sln file there and then it creates a new folder
>into it with the same name for storing all the projects. I want the
>project folders to be created into the same folder than the .sln
>file. Is it possible?
Just as that MSDN article mentioned, the folder structure of the
solution/projects depends on the folder structure of the items in its
corresponding template ZIP file. I suggest you need to customize the folder
structure of your template zip file as you need. By the way, the links of
the relative paths to the project template files should be based on the
folder structure in the ZIP file.
>In fact, when you add a project manually to the solution that is
>the way vs.net behaves,
It appears not in my side, when I add a new/existing project to the current
solution, its project folder will be created under my VS2005's project
folder(..\My Documents\Visual Studio 2005\Projects) by default, there is no
direct relation with the current solution's folder.
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng2006 when prompted. Once you have entered the
secure code mmpng2006, you will be able to update your profile and access
the partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Mayur - 18 May 2007 08:14 GMT
I want to add some additonal folders with my project folders through vs template wizard.I have a solution with four projects in it,now by using export template i successfully makes the projects templates but I also want to add some additional folders to be created when my template is clicked
From http://www.google.com/search?q=Additional+folder+vstemplate&hl=en&start=50&sa=