?
Solved

Missing Templates?

Posted on 2008-11-07
1
Medium Priority
?
298 Views
Last Modified: 2013-12-17
Experts,

I seem to be missing some C# templates in my Visual Studio IDE.  Specifically, I'm looking for the "class library" template, and I'm used to seeing more options in general when I select "File/New".  Do I have to download these templates?

0
Comment
Question by:NigelRocks
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 22908931
Try this:

Missing an item template in Visual Studio 2005? Try this...
http://geekswithblogs.net/ehammersley/archive/2005/11/08/59451.aspx

<Quote>
NOTE: This is not in reference to Web Templates. In VS2005 Web Projects are created through a different menu item.  If you here because you cannot find the web project templates make sure you select New... Web Site from the File menu.

Twice Ive installed Visual Studio 2005 (I use the Software Developer flavor, if that matters) and in the end Ive been missing an item template or two.

Example&  I create a new Class Library project, right click the project and choose Add.  The dialog box that appears gives me a list of installed Item Templates.  After staring at it for several minutes I decided I was missing Class, the template to create a new class file.  Of course I could just choose Empty file and go on& but who wants to do that.  ;-)

Heres what I think happened.  Visual Studio has a cache on disk of all the installed item templates.  My guess is that my cache got messed up.  This didnt just happen once however, it has happened twice now.  How do you fix it?  Well, here you go.

First, close Visual Studio.  Open a new Visual Studio 2005 Command Prompt.  Once there type the following command at the prompt, press enter and wait&

devenv /installvstemplates
</Quote>
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question