VSTEMPLATES and Custom Projects

We have created our own Custom Project using the new Visual Studio SDK.  Is it possible to use the .vstemplate method for creating a project template in our custom project   We have created our own .vstemplate file using examples found in the documentation.  The problem is that when we start visual studio running our custom project and attempt to create a new project we see two entries... one for the .vstemplate project file and another for the .xxproj file.  Is there anyway to hide the .xxproj file so that only the .vstemplate entry shows up. 

Another thing that doesnt seem to work the same is the zipping of the project files.  Reading the documentation for .vstempates, it seems that we should be able to zip all these files and still have the Add Project dialog read this.  In our case when we zip the files we can no longer access either the .vstemplate file or the .xxproj file.

Just wondering if maybe these two feature... IE Custom Projects and .vstemplates are not compatible.

Thanks for your help

Dave


Answer this question

VSTEMPLATES and Custom Projects

  • spot9969

    For working with VSTemplates, all your files should be zipped and never loosely dropped into a directory. VS will handle unzipping the files and putting them into the correct place so the files show up properly in the New Project/Add New Item dialog boxes. If you are putting your zip file into a directory contained under Program Files, you need to run devenv /setup so that VS will find and expand the zip file.

    Craig

  • VSTEMPLATES and Custom Projects