Create a project or item template from your existing project and share the VSIX file directly or on the Visual Studio Gallery. You can add a wizard to your template and pick the framework version your template will target.
It's good for packaging basic templates into a VSIX package, but is does not provide support for many advanced template options. For example, you can only package a single Item Template into the VSIX package, so this tool is not an option if you want to deploy many Item Templates in a single VSIX package. Also, it does not allow you to define a custom Category for your Item Templates to appear under in the "Add new file" dialog. There is also a bug where the wizard cannot see files that are within a folder; if you want to create an Item Template from a file, the file must be directly in the project (cannot be contained in a folder within the project). So for creating some basic templates this tool is alright, but if you are serious about item templates you will likely want to create them the old fashion way. If this extension was actively updated I'm sure it could be totally awesome though (hasn't been updated in a year and a half).
It's good as it allows the simple export of multi project solutions to a visual studio project template. But it lacks some details, you would need for seriously developing project templates. For example it does not include the pdb files of wizard dll's. Thus you cannot debug a template wizard. Other thing is that the first project in a multi solution template determines the type of project for the template. You cannot change it later. It supports solution folders, but it is a good idea to locate each project in the same solution folder to a dedicated physical folder. Otherwise the project won't build when created from the template.
When I try to "Export template as VSIX..." a VC++ project I get the following error:
"startIndex cannot be larger than length of string
Parameter name: startIndex"
Does it work for VC++ projects at all?
I successfully used this extension but I hava just one (very important) issue.
Setting $safeprojectname$ instead of namespace name works correctly (it's correctly replaced) but I need to set this variable also for build->output path. If i do it variable is not replaced with project name. How can I solve it? I need to make also output dir dynamic, it should be created basing on project name. Can you help me?
I was able to get this to work in VS 2012 *sorta*. I extracted the VSIX contents, modified the manifest to allow it to install in VS 2012, it works, but the wizard has certain things that are hard coded to VS 2010, e.g. the editions and the target frameworks. I can just let it generate the templates, then hand modify the manifest files but I would prefer a version that is targeting VS 2012.
It would be awesome if this was either updated or open sourced, I would be willing to make the changes but I am missing the source code for these items:
Even without a new version, this is hands down better than the default "Export to Template" functionality in VS since it allows me to export more than one project at a time. Great extension :)
When I include a SQL 2008 database project in the VSIX package, I get an Access is denied to path C:\Project location\Properties. The package never completes building when this happens. I'd really like to use this template tool, however this is a major drawback if I can't include the database as well. Can someone please help me get this resolved?
I have created several project templates for our customers. However we have has several complaints that the template installs but is not visible in the new project menu. The template shows up in the extension manager. The customers have been using various versions of VS2010 from express to professional. I know that i built the templates to include all versions so that is not the problem. I have verified the complaint by viewing their configuration via remote desktop so i also know that they are not looking in the wrong section for the templates. Any ideas on what might be wrong?
Hi Paul, Did you resolve this? I am having the same issue to, I have spent the whole morning trying without success to see a template in the Add new projects display. Numerous hours going around trying to see what could be wrong in the vstemplate file or any other. Nothing. Then I happened to look in the extensions manager to install export template wizard http://visualstudiogallery.msdn.microsoft.com/57320b20-34a2-42e4-b97e-e615c71aca24/?SRC=VSIDE and there was my template installed as an extension. Sounds very similar to you. How did you resolve this? Thanks.