Pablo Galiano : VS 10 beta 1 The new project dialog

Subscriptions

<September 2010>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

News

Subscribe to Pablo Galiano by Email

Post Categories

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

posted on Tuesday, July 07, 2009 2:21 PM by pga