Adding Templates to Visual Studio Express 2010

You’ve probably read about Jeff Wilcox’s unit testing framework for Silverlight. It depends on a couple of templates being installed (one class, and one project).

How do you install templates in Visual Studio Express versions?

First, browse to %My Documents%\Visual Studio 2010\Templates. Class templates go into the ItemTemplates directory, and project templates into ProjectTemplates.

But wait! Visual Studio doesn’t show these yet. What do you need to do? (Whatever happened to “drag and drop?”)

Very simply, you run VCSExpress.exe for Visual C# (or VWDExpress.exe for Visual Web Developer) with the /installvstemplates command-line argument. And tada! templates are now present.

About Ashiq Alibhai, PMP

Ashiq has been coding C# since 2005. A desktop, web, and RIA application developer, he's touched ASP.NET MVC, ActiveRecord, Silverlight, NUnit, and all kinds of exciting .NET technologies. He started C# City in order to accelerate his .NET learning.
This entry was posted in Tools and tagged , . Bookmark the permalink.

5 Responses to Adding Templates to Visual Studio Express 2010

  1. Pingback: HTML5+CSS3 with Visual Web Developer 2010 Express « John's Discount Blogorama

  2. link01 says:

    And how you add templates to Visual Studio Express 2010?

  3. Pingback: HTML5+CSS3 with Visual Web Developer 2010 Express » John's Discount Blogorama

  4. Pingback: HTML5+CSS3 with Visual Web Developer 2010 Express

  5. Oskars says:

    Thanks, worked like a charm (although i copied the templates to [Microsoft Visual Studio installation path]\Common7\IDE\VWDExpress\ItemTemplates\CSharp\Web\[localeID]), but doesn’t matter, your described way or this, all i needed was that final parameter, thanks again :)

Leave a Reply

Your email address will not be published. Required fields are marked *