http://blogs.clariusconsulting.net/pga

Pablo Galiano's Blog

Go Back to
pga′s Latest post

VS 10 beta 1 The new project dialog

***Disclaimer: This information applies to Visual Studio 2010 Beta 1 only.***

Â

One of the first new things that you notice when running VS10 for the first time is the new “New Project” dialog.

In this post I will describe how we can tweak a VSIX project template extension to show the information in the dialog.

I will use as a sample the VSIX template extension that I created for MEF VSIX projects.

The information in the new dialog comes from the vstemplate file, but instead of describing the mapping, I think that  a picture is worth a thousand words:

image

As you can see from the picture, the ProjectType node in the vstemplate file, defines the category (Visual C#) in the tree on the left.

But how the template is being added under the “Extensibility” node in the tree?

Let’s take a look at the VSIX deployment installation folder:

%LocalAppData%\Microsoft\VisualStudio\10.0\Extensions\Pablo Galiano\MEF VSIX Project template\1.0\MEFVSIXProject\Extensibility

Every subfolder below \MEFVSIXProject is rendered as node in the tree. If we have for example:

%LocalAppData%\Microsoft\VisualStudio\10.0\Extensions\Pablo Galiano\MEF VSIX Project template\1.0\MEFVSIXProject\Pablo\Galiano

 

image

 

Pablo

Comments

1 Comment