views:

22

answers:

0

I am trying to create a C++ template for Visual Studio 2008 (Professional not Express), but all in vain. The template is really simple with only 2 files and no wizard. I've gone through the documentation over MSDN and various forums and I understand the semantics while creating a template, but don't know why this does not work. These are the steps I did:

  1. Created a ConsoleApp project
  2. Edited it
  3. As per MSDN, created a .vstemplate file in same directory
  4. Zipped Everything
  5. Placed the ZIP in "C:\Documents and Settings\Jitin.Sameer\My Documents\Visual Studio 2008\Templates\ProjectTemplates"

But when I start VS and goto new project, I cant see my template listed anywhere. Can someone please have a look at the ZIP file and let me know what is wrong? Can you load it in your VS?

Here is the template ZIP http://www.sendspace.com/file/kvt6l5

Here are the contents of .vstemplate file

<VSTemplate Type="Project" Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"&gt;
<TemplateData>
    <Name>OGRE Quick Project</Name>
    <Description>A Quick OGRE Project using ExampleApplication</Description>
    <!--Icon>TemplateIcon.ico</Icon-->
    <ProjectType>Visual C++</ProjectType>
</TemplateData>
<TemplateContent>
    <Project File="ogre_quick.vcproj">
        <ProjectItem>OgreIncludes.h<ProjectItem>
        <ProjectItem>Main.cpp</ProjectItem>
    </Project>
</TemplateContent>
</VSTemplate>

Please suggest something...