Extensibility Visual Studio 2010 - Custom Project Template Wizard

I read a lot about how the enhancements to expandability in VS2010 have improved significantly (i.e. based on MEF, etc.), but haven't gotten my hands on it yet. Recently I came across a real scenario that made me dive, but I am surprised that I did not find a lot of useful information on how to get up and work with what I want to build.

My team created its own user interface infrastructure in Silverlight, and we would like to create a package of project templates and elements that will be presented as part of the SDK, which we ship with our product. Doing this in the traditional way by exporting something to zip is pretty simple, but we would like to have something else built in with the wizard that you get in ASP.NET MVC or Silverlight when creating a new project (i.e.. Dialog transitions / the wizard and requests additional information and generates additional projects, links, code, etc. based on your additional input).

Are these features available through the extensibility model in VS2010? If anyone could point me in a general direction, I would appreciate it. Today Google does nothing for me :(

+6
visual-studio-2010 vs-extensibility
source share
4 answers

I am not sure if you came across this article: http://msdn.microsoft.com/en-us/library/xkh1wxd8.aspx . It details the "How to Create Project Templates" in VS 2010.

+4
source share
+1
source share
0
source share

Quote from MSDN: How to use wizards with project templates

How to use wizards with project templates

Visual Studio provides an IWizard interface that, when implemented, allows you to run your own code when a user creates a project from a template.

Setting up a project template can be used to:

  • Display a user interface that collects user input for parameterizing a template.
  • Add parameter values ​​to be used in the template.
  • Add additional files to the template.
  • Perform almost any action allowed by using the Visual Studio automation project object model.
0
source share

All Articles