locked
How to avoid the new folder creation in multi project template? RRS feed

  • Question

  • I have one root template is there. the root template content like below.

    >
    <VSTemplate Version="2.0.0" Type="ProjectGroup"
        xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
      <templatedata></templatedata
        <name>ASP.NET MVC 4 Application</name>
        <description>Starter project for creating ASP.NET MVC 4 Application</description>
        <defaultname>MVCApplication</defaultname>
         <icon>__TemplateIcon.jpg</icon>
        <previewimage>__PreviewImage.jpg</previewimage>
        <projecttype>CSharp</projecttype>
        <projectsubtype></projectsubtype
        >
        
      >
      <templatecontent></templatecontent
         <projectcollection></projectcollection
        <projecttemplatelink ></projecttemplatelink>
        Children\Desktop\MyTemplate.vstemplate
        >      
       >
      >
     <wizardextension></wizardextension
        <assembly></assembly
    MVC.Extensions.WizardFramework, Version=10.304.0.19, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
        >
        <fullclassname>MVCProjectTemplate.IWizardImplementation</fullclassname>
      >
    >

    Children folder contains one project template. i have created the project using wizard with project template concept.

    but it creates new folder in  root folder  with project name and then added the project content in the folder.

    that is.  MVCApplication / MVC Application /project content.

    first folder is root folder (outside the root folder solution file is there).

    i want to avoid second folder creation in root folder. i want like below

    MVC Application/Project conent.

    Note: Am not used  <createnewfolderCreateNewFolder in children template. it is default set to false.</createnewfolder

    how to resolve it?

    Thanks,

    Siva


    Friday, July 20, 2012 8:42 AM

All replies

  • Hi Siva,

    I found no way to solve it after a lot of attempt when I used ProjectGroup to create projects.

    If you want to avoid to create a new folder you can choose use the project template which type is Project.

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us

    Monday, July 23, 2012 5:03 AM