Export Template Wizard


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.

(19) Review
Visual Studio
Download (23,301)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (19)
Q and A (27)
Sign in to write a review
Sort by:

by Enrico Mogensen | September 08 2014

Worked great on VS 2010 SP1 + hotfix KB2581019.

by long2787901 | July 12 2013

Who can tell me why it popups this message: "startIndex cannot be larger than length of string. Parameter name: startIndex"?

by Abhijeet Ubale | October 23 2012

by Khalid Salomão | September 26 2012

This extension makes very easy and flexible to create a project template installer. Very handy tool!
I am waiting to the vs2012 version!

by bragboy | June 19 2012

Worked clean for me (I am using Visual Studio 2010 Ultimate Edition). Thanks.

by Latin Warrior | April 24 2012

I attempted to use this extension and it gave me the dreaded "startIndex cannot be larger than length of string" message.

by Charles Lazarr | February 28 2012

Unfortunately, a completely useless tool due to the "startIndex" error many others have mentioned - 0 stars. My current set up: VS 2010 SP1 Ultimate.

by Thomas Balkeståhl | February 21 2012


by raegnar | February 16 2012

Add another to the list of people encountering the
"startIndex cannot be larger than length of string. Parameter name: startIndex" bug.
Thus rendering this tool completely useless.

by TejasJ | January 20 2012

by YannDuran | September 07 2011

Great timesaving tool! As mentioned by others, it would be even *better* if you were able to add multiple items into the same vsix file.

by deadlydog | August 29 2011

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).

by boner28 | July 01 2011

Fantastic tool. Just looking for help on the Wizard Assembly?

by Ed Price - MSFT | June 03 2011

by michaelatbtu | May 26 2011

Installed and tried to export a project and received the "startIndex cannot be larger than length of string" error that many people have been getting for a long time now. Tool is completely useless.

by cleftheris | November 01 2010

Exelent work especially for discovering the works behind the vs template engine. There is a minor bug with linked files where the wizard crushes.

by Tobias Manthey | September 13 2010

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.

by Weston Hutchins | February 05 2010

by Joaquin Jares | January 14 2010

Sign in to start a discussion

  • Unable to cast object of type ExtensionManagerService to type IVsExtensionManager
    1 Posts | Last post September 03, 2016
    • I could install on VS2012 after modifying .vsixmanifest as mentioned and I could start Export Template to VISX wizard, after selecting couple of BizTalk (.btproj) projects and click on next errors out will following error. I have even changed vsixmanifest <SupportedFrameworkRuntimeEdition MinVersion="4.5" MaxVersion="4.5" />
      but still error continues and next wizard page closes visual studio itself. What I am missing here?
      Microsoft Visual Studio
      Unable to cast object of type 'Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService' to type 'Microsoft.VisualStudio.ExtensionManager.IVsExtensionManager'.
  • Will you do a Version for VS2012 and VS2013 please?
    3 Posts | Last post October 09, 2015
    • Hi will you be doing a Version for VS2012 and VS2013 please?
    • If not developing further please make open source
    • you can do it urself man..
      you can open the download vsix with winrar and modify the `vsixmanifest` file 
      VisualStudio Version="10.0"
      VisualStudio Version="12.0" for vs2013. 
      VisualStudio Version="14.0" for vs2015.(not tested) 
      then it will work in higher VS as well. ;)
  • Updates?
    2 Posts | Last post October 09, 2015
    • Dear MS guys, are there any Updates for this beautiful tool?
      We currently have to keep on using VS2010 for this...
    • hi you can try it yourself. I am using it on VS2013. :)
      you can open the download vsix with winrar and modify the `vsixmanifest` file 
      VisualStudio Version="10.0"
      VisualStudio Version="12.0" 
      for vs2013. then it will work in VS2013 as well. ;)
  • Did I find issue?
    1 Posts | Last post October 09, 2015
    • Hi,
      I download this to create my project template.  But it was not supported for VS2013.  ultimately I had to modify the vsixmanifest file to make it work on VS2013, then I was able to install it on VS2013.  
      Then I exported multi-project item template. During the testing I noticed when I was exporting template in .csproj file it create one like as
      but i think it should be 
      please test it and if I am correct update it.  Thanks. I had to spend lot of time to find the issue. and even reference of projects is not handle between multi-project item template.  :( 
      it can be much better if we handle project reference and the above issue i mentioned. Thanks
    2 Posts | Last post October 09, 2015
    • This is a great Tool. It's a shame its not been updated to support new versions of Visual Studio.
    • you can open the download extension with winrar and modify the `vsixmanifest` file to 
      "VisualStudio Version="12.0"" for vs2013. it will work.
  • Bugs and enhancements
    4 Posts | Last post April 10, 2014
    • Hi,
      1.) The project type of the multi project template is currently implicitly determined by the first project that was added to a solution. e.g. If your first project in a multi project soltuion you want to export as template is a modeling project your template will be always be a modeling template. You cannot change or modify the project type of the template.
      In my eyes this is more like a bug in the current version.
      2.) Include pdb files of the wizard.dll if available. In order to debug my wizard I currently have to add the pdb file manually to the vsix container.
      3.) You should be able to set the startup project in a solution template. 
    • Hi ,
      I am trying to create a Windows Azure Cloud service template.
      I have a Cloud service project(Extension .ccproj) and a WebRole project with extension .csproj. But when I include both while creating VSIX I am getting the following error : 'startIndex can not be larger than length of string'.
      Is windows azure cloud service not supported for this.
      Brij Mohan Pandey
    • Hi,
      I get the same error 'startIndex can not be larger than length of string'. My project is a C   makefile proj. with folders added with read-only sources. I would like to make a proj referencing the same files and not copy them :(. 
    • I'm trying to create a template to a standard DLL project and I got the same error 'startIndex can not be larger than length of string. Parameter name: startIndex` does anyone find a solution for that ?
  • startIndex cannot be larger than length of string
    2 Posts | Last post July 12, 2013
    • 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?
    • Hi,
      I get the same error. Do you have a solution now? I am so worried about it. Could you reply and give me a hand? Thank you so much.
  • Set $safeprojectname$ for output dir
    1 Posts | Last post May 27, 2013
    • 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?
  • default name of the multi project templates
    1 Posts | Last post May 20, 2013
    • please fix the `$safeprojectname$` for multi project templates as described here:
  • Packages Folder
    1 Posts | Last post January 17, 2013
    • I am trying to export a solution that contains MVC 4 project with this extension but it does not export the packages folder, any ideas?
1 - 10 of 27 Items