Search code examples
c++visual-c++visual-studio-2010projects-and-solutions

Visual Studio 2010 - Export (Project) Template menu option grayed out


In Visual Studio, I want to make a simple C++ project and export it out as a template, so I can use the template to start new projects to save me time. But the Export Template menu option is always grayed out. I've not once been able to click it.

Anyone know why? Anyone know how to accomplish what I need (besides the obvious "make a copy of an existing project in explorer")?

It seems like project templates should be a no-brainer feature for VS.

This seems to be the case for Visual Studio 2005, 2010 (I probably 2008 as well I haven't checked).


Solution

  • You can use the Visual C++ wizard architecture, which is designed for easy extensibility and customization. You can create a wizard using the Visual C++ Custom Wizard. After you create your wizard, you can configure it to generate the starter files you need for your projects.

    For more information how to do this please refer to the following location: http://msdn.microsoft.com/en-us/library/bhceedxx(v=VS.80).aspx

    Noticed that normal project template and VC++ project template are different

    Let me know if you have any problems...

    s