Eric Hammersley

<insert impressive list of technology to blog about here>

  Home  |   Contact  |   Syndication    |   Login
  92 Posts | 0 Stories | 121 Comments | 319 Trackbacks

News

Subscribe in NewsGator Online

Thawte WOT Notary
Serving Southern Indiana


Archives

Post Categories

Blogroll

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 I’ve installed Visual Studio 2005 (I use the Software Developer flavor, if that matters) and in the end I’ve 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.  ;-)

Here’s 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 didn’t 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

This will rebuild your item and project template cache.  Works like a charm.

EDIT: This doesn't appear to be working for a lot of people.  I apologize for that.  Don't let it discourage you from trying however I do not have any other solutions.  If someone does please post and I'll include it in the article.

EDIT2: There are many good solutions in the comments below.  Read on and most likely you will find your solution.

posted on Tuesday, November 08, 2005 12:14 PM

Feedback

# re: Missing an item template in Visual Studio 2005? Try this... 11/26/2005 5:24 AM Andy Maggs
I tried that and also devenv /setup and neither restores my templates, any other options?

Andy

# re: Missing an item template in Visual Studio 2005? Try this... 11/26/2005 9:31 AM Eric Hammersley
Interesting. What version of 2005 are you using? Also, what templates are you missing? All of them? Just a few?

# re: Missing an item template in Visual Studio 2005? Try this... 12/2/2005 4:46 PM Will Gant
Thanks dude. It worked perfectly. I just wish I hadn't fought with it an hour before hitting Google.

# re: Missing an item template in Visual Studio 2005? Try this... 12/2/2005 6:21 PM Eric Hammersley
No problem. I fought with it from much longer before I found this gem. I'm glad it worked for you.

# re: Missing an item template in Visual Studio 2005? Try this... 12/20/2005 8:09 AM George Brown
I am using Visual Studio 2005 Professional version 8.0.50727.42. Twice now I have had the Asp Web Project template dissappaer from the File - New - Web Site pulldown selections. Initially I did a complete repair to get it back. This time I tried the devenv /installvstemplates devenv /setup tips above but to now avail.
I anyone has a suggestion I would really appreciate it.

# re: Missing an item template in Visual Studio 2005? Try this... 1/1/2006 1:02 PM James Austin
devenv /installvstemplates

This didn't work for me either. There are a lot of templates missing for me.

# re: Missing an item template in Visual Studio 2005? Try this... 1/13/2006 1:15 AM Petter Jönsson
I'm missing a lot of templates, most notably empty Windows Form and Class.
None of the above tips worked for me. Neither did uninstall/reinstall.
I was able to work around the problem using the following method:

Open the Options window in Visual Studio.
Select Projects and Solutions.
Change the Visual Studio user item template location to the folder where the standard templates are located ( C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates ).

After the change, all templates showed up under the My Templates category instead of the half-empty Visual Studio installed templates in the Add New Item window.

# re: Missing an item template in Visual Studio 2005? Try this... 1/19/2006 11:27 AM Scott Ray
This fixed my problem - thanks a ton!

# re: Missing an item template in Visual Studio 2005? Try this... 1/20/2006 2:32 PM Hamish Robertson
Thanks a million Petter, it works! I had tried a repair, uninstalling and reinstalling - I was even considering a complete reformat!

Thanks!

# re: Missing an item template in Visual Studio 2005? Try this... 1/23/2006 12:44 PM alex
Anybody knows of a COM Component Item template for C#? Something to the one for VB - that is so useful to call NET from COM?



# re: Missing an item template in Visual Studio 2005? Try this... 1/28/2006 12:04 AM Steve
Yeah, that worked fror me! I was only missing the class template - now it is restored!

# re: Missing an item template in Visual Studio 2005? Try this... 1/30/2006 9:53 AM Brian Peal
The above fix did not work for me. I am missing the c# windoes service template. I have the professional version from MSDN. what gives?

# re: Missing an item template in Visual Studio 2005? Try this... 1/30/2006 11:14 AM Eric Dickey
It did work for me....I was missing All of the Web Dev templates...now there back...Googling works every time...thanks for the tip!

# re: Missing an item template in Visual Studio 2005? Try this... 1/30/2006 11:30 AM Eric Hammersley
I'm glad it worked. The number of people hitting this article from Google really makes you wonder what they got wrong with VS2005. I love the new version but there are some obvious problems.

# re: Missing an item template in Visual Studio 2005? Try this... 2/13/2006 3:59 AM Richard
Fixed it for me too. Thanks a lot

# re: Missing an item template in Visual Studio 2005? Try this... 2/13/2006 4:51 AM Björn
Maybe it's a problem with the security properties of the "Microsoft Visual Studio 8" folder, which is set by the VS2005 Installer.
At first, "devenv /installvstemplates" doesn't work for me, but when I set "full control" for Administrator, "devenv /installvstemplates" repairs the project templates.

# re: Missing an item template in Visual Studio 2005? Try this... 2/24/2006 2:57 AM Norbert
After installing the VSTO (Visual Studio Tools for Office) into VS 2005 the all "Web Site" Templates but "online" where missing. Even "online" hangs, now.
None of the describes Methods works. I'ts not so easy to set "full control" the OS on this machine is just XP home, so the option is not shown.
Anly got clue ?

# re: Missing an item template in Visual Studio 2005? Try this... 2/24/2006 5:52 AM Eric Hammersley
Boot XP into "Safe Mode" and the security tab should be made available for the directory. Check your permissions from there.

# re: Missing an item template in Visual Studio 2005? Try this... 3/1/2006 12:58 AM TBolon
The most strange is that if you look at your <vsdir>\Common7\IDE\ItemTemplatesCache\CSharp\1033 for example, you'll see a lot of folder with incorrect content : for me AboutBox.zip folder contains CodeFile.cs and CodeFile.vstemplate.

It seems that VS does some strange things when creating templates cache...

I'm still looking for a real solution.

# re: Missing an item template in Visual Studio 2005? Try this... 3/28/2006 11:16 PM Hans van Dodewaard
I had the same problem. Tried everything described above. Nothing helped.

But then I noticed that in de language drowdown in the new web site form the C# was twice in the list. When changing the language to the second item the missing templates appeared.

# re: Missing an item template in Visual Studio 2005? Try this... 4/6/2006 10:07 AM Erik
In my case the Administrator had "full control" of the folder.

After setting "full control" on the "Creator" and running "devenv /installvstemplates" - all my templates are there! Thaks a lot!

# re: Missing an item template in Visual Studio 2005? Try this... 5/2/2006 11:14 PM andy
I am missing ASP.Net Web Application. I have tried all the above.Any other ideas?

# re: Missing an item template in Visual Studio 2005? Try this... 5/5/2006 2:29 AM luke
yup, hans fixed it for me too.

I'd do as hans did "everything described above" then try his solution.

# re: Missing an item template in Visual Studio 2005? Try this... 5/8/2006 8:35 AM Arnold Smith
devenv /installvstemplates worked for me. Thanks!

Arnold Smith

# re: Missing an item template in Visual Studio 2005? Try this... 5/11/2006 10:51 AM Alex
Worked a charm. Needed to install two project templates (Sharepoint Workflow Foundation) manually and thanks to this post I managed.

# re: Missing an item template in Visual Studio 2005? Try this... 5/15/2006 10:27 AM Clayton Hoyt
I have tried the devenv /installtemplates with no success. I am always missing only the ASP.NET templates. This is the third computer that I have had problems with this exact same issue. I have also tried changing my Templates folder under options but no go there either. The only solution that I have found that works is to reinstall VS2005.

# re: Missing an item template in Visual Studio 2005? Try this... 5/28/2006 3:26 PM Jason Goemaat
'devenv /installvstemplates' doesn't work for me either... Could this have something to do with ZipFolders? I have disabled Zipfolders (or so I thought) to let Winzip handle zip files. The normal ItemTemplates folder looks like it contains zip files (icon looks like WinZip and they open with WinZip), however the ItemTemplatesCache folder has zip folders (open in explorer and look like zip folders icon). Some (including class.zip which is no good) are empty or contain bad data. I tried manually replacing with the zip files to no avail.

# re: Missing an item template in Visual Studio 2005? Try this... 6/8/2006 12:25 AM Cosmin Petrenciuc
Something is very wrong with Visual Studio 2005. Anyway, the Options->Item Template Directories worked for me too. Thanks a lot.

# re: Missing an item template in Visual Studio 2005? Try this... 6/22/2006 3:04 PM dblanchard
I tried devenv /installvstemplates and it ran without error, but didn't work. Neither Petter's nor Hans' suggestions worked for me either (but I do appreciate all the suggestions).

I am not sure what other project types I should have, but I'm missing C# ASP.NET Web Application (actually, I'm missing it from all languages except for C++). When I navigate to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates I see a directory named Visual C# (empty), and one named CSharp. The CSharp directory contains the 1033 directory, but I don't see anything in 1033 related to the web except for WebCustomControl.zip. Should I have something else there? If so, can some one send it to me at dblanchard%gmail.com (switch @ for %)?

# re: Missing an item template in Visual Studio 2005? Try this... 6/22/2006 3:18 PM dblanchard
I have just found that from the File menu one can select New>Web Site... and then choose from ASP.NET Web Site or ASP.NET Web Service. I hope this helps some of you, but I also hope to find my template.

# re: Missing an item template in Visual Studio 2005? Try this... 7/14/2006 1:42 PM mikeyg
Perfect. I've installed VS2005 on numerous machines, first time this happened. Simply just missing Web Form from my C# solutions...

# re: Missing an item template in Visual Studio 2005? Try this... 7/20/2006 8:30 AM rkincaid
I found the solution to my problems, which were that the option to create or open a website from the recent projects window was missing, as were the templates when I tried opening a project was as follows:

Tools, Import/Export Settings, then Reset all settings, and then I chose my preferred profile, C# developer.

I believe that the settings were set for BIDS initially because I was using Sql 2005 BIDS prior to even installing the team edition of Studio.

HTH,

Ron K.

# re: Missing an item template in Visual Studio 2005? Try this... 7/20/2006 8:46 AM Eric Hammersley
Ron, that's a good idea. Thinking back to the last time I installed SQL and then VS I too remember having to change the settings by hand. The normal "What kind of person are you" dialog that shows up on just a VS install does not appear if SQL 2k5 is installed first. Nice catch.

# re: Missing an item template in Visual Studio 2005? Try this... 7/24/2006 12:03 AM Al
Legend dude!
did the trick, but where the hell did they go to in the first place!
Al

# re: Missing an item template in Visual Studio 2005? Try this... 8/22/2006 3:57 AM Turgay
I'm also missing the c# ASP.NET Web Application project template. I tried all of suggestion but no success.

Turgay

# Visual Studio 2005 Installation FUBAR that 'The Daily WTF' missed 8/31/2006 5:21 AM SBC DotNet Weblog
Perhaps it missed it because this VS2K5installation FUBAR qualifies for the Annual WTF - missing VS2K5

# re: Missing an item template in Visual Studio 2005? Try this... 9/2/2006 1:36 AM Roman
I am missing ASP.NET project template. I tried absolutely all the solutions mentioned above and no success.

# re: Missing an item template in Visual Studio 2005? Try this... 9/4/2006 2:57 PM EclipseIsBetter
Hi all,

I've done mostly Java development, but lately I'm doing more .NET stuff.

Although VS has lots of great features, I find it has lots of problems I just don't encounter in other dev tools. Perhaps it's the insane complexity of integrated everything?

Anyway, I think what bugged out the templates for me is I had the temerity to install it to another partition. Experience has taught me, most MS products dislike you doing so.

The fix for me was a) Going into Options and pointing it to the Project and Item template locations AND running devenv /installvstemplates.

However, although I have most of the templates, a few are still missing!

Despite this being a full release, I am glad my employer foot the bill for what feels like a beta product.

# re: Missing an item template in Visual Studio 2005? Try this... 9/5/2006 1:08 PM John Price
I tried all of the "non-reinstall" suggestions above and nothing seemed to work, so I broke down and completely uninstalled and reinstalled VS2005 and things seem to be fine now.

I did manually go into the registry and delete everything under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0 and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0 before reinstalling. I don't know if this had any effect or not, but if you've unsuccessfully tried reinstalling before (and are okay editing your registry) it might be worth a shot.

# re: Missing an item template in Visual Studio 2005? Try this... 9/6/2006 2:37 PM Jim
I finally got it to work by two things:
1. running VS 2005 setup.exe and choosing "Change or Remove Microsoft Visual Studio 2005 Tools for Office", choosing "Next", then "Add or Remove Features" and checking features to install for "Visual Web Developer" and "Update". After the install, on launching VS 2005, and going to "File - New", I saw "Web Site..." menu added.

2. Downloading and installing Microsoft Visual Studio 2005 - Update to Support Web Application Projects found at http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx

After step two, the "File - New - Projects" shows "ASP.NET Web Application" and "ASP.NET Web Service" templates in the New Project dialog.

# re: Missing an item template in Visual Studio 2005? Try this... 9/25/2006 1:15 PM Andy
I have done everything. even then I dont see the "web application" template when i click on new->project->visual c#. Does anyone know the solution? please help.

# re: Missing an item template in Visual Studio 2005? Try this... 9/25/2006 1:15 PM Andy
I have done everything. even then I dont see the "web application" template when i click on new->project->visual c#. Does anyone know the solution? please help.

# re: Missing an item template in Visual Studio 2005? Try this... 10/5/2006 2:02 PM Jonathan
I am having this issue with VS 2005 Professional. Neither devenv /setup nor devenv /installvstemplates work. VS 2005 is installed in a non-default path. I have had success with the /setup switch for VS 2005 Team Edition for Developers installed in a non-default path.

Also, after I run devenv /setup, I look in the item cache at Web/VisualBasic/1033/webform.zip, and the directory contains an XML template instead of the WebForm template. I verified the source zip file, and it has the correct files. It appears that something is going wrong when VS is extracting the files and creating the cache.

A workaround in my case was to copy the item templace cache from an install of Team Edition to the Professional installation, and it works.


# re: Missing an item template in Visual Studio 2005? Try this... 10/9/2006 3:51 AM Rich
I've tried everything listed but nothing worked, but this did;

Install "VS80-KB915364-X86-ENU.exe" and then install "WebApplicationProjectSetup.msi"

http://download.microsoft.com/download/8/0/8/8086c312-16b1-4e54-a4cc-80a6c171112e/VS80-KB915364-X86-ENU.exe

http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi

# re: Missing an item template in Visual Studio 2005? Try this... 10/13/2006 5:03 AM Biju
Thanks much Rich!
Only your solution worked for me....!!
Microsoft better confirm whether this is BETA or FINAL.....

# re: Missing an item template in Visual Studio 2005? Try this... 10/18/2006 9:19 PM JJ
Ahhh...finally!!!
Thanks for the insight Rich

# re: Missing an item template in Visual Studio 2005? Try this... 10/21/2006 10:42 PM Tom
none of the solutions worked for me until I tried Rich's solution of downloading and installing the 2 files. Now I can see the ASP.Net Web Application under Visual Studio Installed templates. In Options I kept both paths (project templates and item templates) to point to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates

# re: Missing an item template in Visual Studio 2005? Try this... 11/6/2006 4:38 PM matt
took me about 2 hours to find this article but thank goodness I did. My master page template disappeared and the fix above solved the problem. Thanks a ton.

# MISSING an item template in Visual Studio 2005? Try this... 11/8/2006 10:39 PM Carson
I'm missing ASP.net web application and ASP.net web services and there are no where to be found in Visual Studio 2005.
Can anybody help please?

# re: Missing an item template in Visual Studio 2005? Try this... 11/10/2006 7:54 AM Farhad Tasharofi
Thanks Rich, your fix solved my problem.

# re: Missing an item template in Visual Studio 2005? Try this... 11/10/2006 3:50 PM Dan B
I was missing the ASP.net web application template but Rich's post did the trick. Thanks a million!

# re: Missing an item template in Visual Studio 2005? Try this... 11/20/2006 6:26 PM Ivan
Thanks Rich. Worked perfectly.

# re: Missing an item template in Visual Studio 2005? Try this... 11/26/2006 12:16 PM DivideByZero
RANT:
OK....searched all over the net. This is the only place addressing this issue. Shouldn't MS be addressing it? Thank you for allowing the rant.

CONTENT:
I tried all of the items listed in this thread (thx to all for contributing) but none of them worked. I was looking for the splash screen template...it was not appearing. Then I went back in time to a quote that Bill G had stated: All you need is BASIC for programming. So I installed VB.NET. Since I am a C# programmer, it never dawned on me to load VB. However, upon loading the mysterious missing templates showed up....but only for VB.

Issue resolved for me. It seems that not all languages are created equal at MS. So if you are missing templates, be aware that they may not exist for your language.

FINAL RANT: Thanks MS for wasting 4 hours of my programming time. I'll build my own templates from now on.

# re: Missing an item template in Visual Studio 2005? Try this... 12/1/2006 8:42 PM mr wilson
All day trying to get templates, and still cant make it work. Really frustrating that MS releases crap like this. Where the hell is the "add template" button?

# re: Missing an item template in Visual Studio 2005? Try this... 12/24/2006 6:22 PM Ron Prowse
Ron K thnaks mate that was the problem, Installed BIDS with SQL Server 2005 which switched the setting, your tip worked, Great work.

Ron

# re: Missing an item template in Visual Studio 2005? Try this... 12/28/2006 2:36 PM André
Doesn't work for me.

What else could I try?

# re: Missing an item template in Visual Studio 2005? Try this... 1/4/2007 10:15 PM Matthew Hall
Congrats Eric, your blog entry is number 1 on google for this tale of woe!

This is what worked for me:

Closed the IDE

Granted Admin and Creator full control on the C:\Program Files\Microsoft Visual Studio 8 directory.

Ran the VS2005 setup.exe , chose "Change or Remove VS2005"

Removed something I never use ( J# support in Crystal reports :P )

Restarted the IDE et voila! The templates were all present and correct :)

Using VS2005 Team Suite on XP Pro

# re: Missing an item template in Visual Studio 2005? Try this... 1/6/2007 11:56 PM Eric Hammersley
It's because of readers like you that this article is up there in Google. Everyone that has taken the time to add to this post has contributed a great deal to the usefulness of it. Thanks, to everyone.

# re: Missing an item template in Visual Studio 2005? Try this... 1/7/2007 10:17 AM Tyler
Way to pull together. Thanks, Rich.

I deleted my templates while trying to resolve VS creating environment settings in my "my documents folder", which may change from time to time. very buggy.

# re: Missing an item template in Visual Studio 2005? Try this... 1/8/2007 10:09 AM Taki
Thanks All!!!

Tried all, only Rick's solution helped. But still WebControlLibrary missing :(

# re: Missing an item template in Visual Studio 2005? Try this... 1/10/2007 7:53 AM lpl
I experienced likewise problems - almost all the item templates, such as the DataSet-template, were missing.
I have VS2005Pro installed in some other location than default C:\Program Files, and I've also changed the value
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir to "H:\"
The default-value is, as everebybody knows, "C:\Program Files" - note the lack of an ending backslash! When I first changed the ProgramFilesDir-value I set it to "H:" - without an ending backslash -> VS2005 behaved very strange, a lot of things were not working at all (and of course no reasonable error messages at all) :(
A change of ProgramFilesDir to "H:\" and VS2005 behaved as it should, at least I thought so - until I discovered this problem with missing item templates.
I remembered this quite strange behaviour when lack of an ending backslash, so I searched and found the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\VSTemplate\Item which holds the values 'CacheFolder' and 'UserFolder'. In my case the 'CacheFolder'-value was set to
"H:\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache" - that is, with no ending backslash.
I added a backslash, ran devenv /installvstemplates and then it was ok. Before the change the installvstemplates also did not funtion correctly I think - the folder \ItemTemplatesCache\CSharp\1033\ had a lot of folders named BlaBla.zip, after the change there are only five such folders.
I can't say I understand how it works, I'm just glad the expected templates are available in the IDE :)


# re: Missing an item template in Visual Studio 2005? Try this... 1/10/2007 1:13 PM Jon Willis
After installing the .NET Framework 3.0 I noticed that my only option for "Add New Item" is "Class." Even in a Windows Application or Web project it's the only choice I have. Looking in the event viewer, I noticed 58 warnings, like this one:

"Error in Template (C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\NET Framework 3.0\WinFXApplication.zip), file (WinFXApplication.vstemplate). Unknown element (MinFrameworkVersion). Parsing will attempt to recover."

I uninstalled .NET Framework 3.0 and deleted all of the WinFX... templates. I ran a repair on my Visual Studio install. I ran /installvstemplates again and I still don't have my item templates available. Any ideas?

# re: Missing an item template in Visual Studio 2005? Try this... 1/11/2007 1:28 PM shineshy
hey thanks a lot... it really solve the problem... gosh.. i was so scare that, need to reinstall the vs2005

# re: Missing an item template in Visual Studio 2005? Try this... 1/18/2007 1:39 AM Rodrigo Salinas
The problem of standard Visual Studio 2005 templates vanishing is happening also when you install the WinFX extensions, as Jon Willis pointed out. In my blog I wrote a possible solution: http://www.rodrigosalinas.cl/?p=33
I hope that might be usefull.

# re: Missing an item template in Visual Studio 2005? Try this... 2/1/2007 11:24 AM Giuseppe
I have solved the problem :
under this directory C:\Program files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates there is a folder (like 1033) for language items, copy all items from that folder to the up folder. All will work again.


# re: Missing an Business Integration template in Visual Studio 2005? 2/7/2007 5:36 AM Uma
Hi,

Business Integration Template is missing in my VS 2005. Can any one help me how to add this Template.

Thanks,
Uma Ramiy

#  Missing an Business Integration template in Visual Studio 2005? Try this... 2/8/2007 1:52 AM Uma
Hi,

I uninstalled SQL Server 2005 and installed it again. BI Integration Template is now lists in my VS 2005

Thanks,
Uma Ramiya

# re: Missing an item template in Visual Studio 2005? Try this... 2/15/2007 3:10 PM itouch
Turkish : Allah tuttugunu altin etsin rich kardesim English: Thanks a lot you rich your solution worked for me.


# re: Missing an item template in Visual Studio 2005? Try this... 2/26/2007 1:27 PM Robert Porter
I found yet another fix that worked for me. I deleted the contents of the ProjectTemplatesCache folder. Then logged off the system and logged on as the real Administrator account. I ran devenv.exe /InstallVSTemplates from a command prompt, the logged off and back on as myself and all the templates were restored.

# re: Missing an item template in Visual Studio 2005? Try this... 2/26/2007 6:13 PM cmf
I lost all my templates from C# language.

I have installed Visual Studio Team Edition for Software Developers onto a Visual Studio Professional Edition. Something like a upgrade namely.

But I notice when i wan to start a windows applications, all windows applications templates are gone.

The only one that wizzard suggest me was Crystal Report Form.

Reading this blog i was unable to repair or fix it running devenv /installvstemplates.

It´s runs quite but nothing happens. Same behaivor.

Trying to change the location of templates files, also helps anything.

The problem "in my case", was with this setting:

Tools/Options/Environmet/International Settings/Language:

It was setup as "Some as Microsoft Windows", while my Windows is in Spanish Language.

Turning it back to "English", fix the problem for me.

Now when i run and do New Project, i see all templates i was missing suddenly.

I hopes helps anybody. It´s my two cents.

cmf.

cmfarias@hotmail.com


# re: Missing an item template in Visual Studio 2005? Try this... 2/27/2007 11:28 AM Paul
Thanks lpl,
VS.NET 2005 installed in E:\program files:

I edited the registry for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SharepointDeveloperTools and changes the directory from C:\program files to E:\ on both entries
\Install Path and \VSTemplates Install Path.

Removed and reinstalled the VSseWSS.msi and presto, the Webpart and other templates are there!

Thanks again,
Paul

# re: Missing an item template in Visual Studio 2005? Try this... 2/27/2007 12:48 PM NetUser
Thanks a bunch Rich. Your solution of installing couple of updates did the trick for me.

# Those two updates did the trick for me 3/5/2007 1:33 AM Glyn
I was missing the 'web' item in the 'new project' dialog box, which is what leads to the ASP.NET Web Application option (like, the main goddamn thing!) -- installing those two updates (as Rich says above) fixed it up. Kudos to the maintainers of this website for keeping it around and offering a lifeline to those of us staring in disbelief between the manual and the screen saying "But... but... I don't HAVE a 'web' option...!?" And a heart FU to Microsoft for releasing VS2005 and letting it behave like this in the first place...

# re: Missing an item template in Visual Studio 2005? Try this... 3/8/2007 4:11 PM Niels Henriksen
Perfect... it worked for me ;)

# re: Missing an item template in Visual Studio 2005? Try this... 3/9/2007 5:09 PM Vamsi
Thank you Rich. The installation worked for me. What a waste of 5 hors, thanks to Microsoft for releasing VS2005 in sucha sad state.

# re: Missing an item template in Visual Studio 2005? Try this... 3/29/2007 4:49 AM GDI Lord
Thank you DivideByZero. Also being a C# programmer, I didn't think of loading up VB. Now to just convert it to C#...

***FRUSTRATION***

# re: Missing an item template in Visual Studio 2005? Try this... 4/1/2007 3:50 PM Patrick
If it wasn't for the postings here, I'd still be trying to figure out this incredibly irritating problem. Thanks to all.

# re: Missing an item template in Visual Studio 2005? Try this... 4/4/2007 9:44 AM Frank
devenv /installvstemplates worked for me

# re: Missing an item template in Visual Studio 2005? Try this... 4/10/2007 9:51 AM Jason
Excellent, exactly what I was looking for.
I found myself missing a lot of the standard templates that ship with VS2005 and couldn't work out why they'd disappeared.

devenv /installvstemplates worked a charm!

You're a legend!

# re: Missing an item template in Visual Studio 2005? Try this... 4/13/2007 12:14 PM Tom
I decided to live on the edge, and try and edit some of the item templates in Visual Studio. I backed up the old ones, then replaced them with modified copies, and also replaced the copies in the two item template cache locations. Well, after doing this, none of my modified templates were created, and the WebForm item disappeared completely. I replaced everything back the way it was, and it was still missing. I ran the devenv /installvstemplates command, and WebForm came back. Thanks!

# re: Missing an item template in Visual Studio 2005? Try this... 5/2/2007 7:01 AM pierros
Well done my friend Rich! finally i have it...

# Missing an item template in Visual Studio 2005 5/5/2007 9:18 AM Ahmad Masykur
Ini adalah pengalaman saya dengan Visual Studio.NET 2005 yang mungkin bermanfaat bagi yang lain. Beberapa

# re: Missing an item template in Visual Studio 2005? Try this... 5/10/2007 8:01 AM GW
It is great. I have been searching for hours and tried several different ways. But none of them worked. Finally, Rich's solution saved my day. Appreciate it very much!

# re: Missing an item template in Visual Studio 2005? Try this... 5/15/2007 9:38 PM rosdi
Thanks Eric your tip works for me!... tq

Kahuna matata!...

# re: Missing an item template in Visual Studio 2005? Try this... 5/20/2007 12:17 AM sami
I opened a visual studio command prompt and wrote the
followimg command :

d:\programming tools\VC> devenv /installvstemplates

In response i received ...


'devenv' is not recognized as an internal or external
command, operable program or batch file.

Have someone an idea what can i do?

Thank's in advance.

# re: Missing an item template in Visual Studio 2005? Try this... 5/21/2007 1:02 AM STOP SAYING
Can you geeks stop using the slang KUDOS. It's the stupidest thing I've ever heard and it's so old. It makes us non-geeks feel stupid that other geeks are using that term. It's so annoying. KUDOS, KUDOS TO YOU, wank wank

# re: Missing an item template in Visual Studio 2005? Try this... 5/21/2007 7:15 AM rares
10x a lot people

my problem was the language:
- windows vista bussiness french
- visual studio 2005 french

As soon as i changed
Tools/Options/Environment/International Settings/Language
from "Same as Windows" to "English", my templates were back

# re: Missing an item template in Visual Studio 2005? Try this... 5/23/2007 7:33 AM Tsoufik
to resolve my problem, i taake this steps

1) Close VS 2005
2) Delete the content of folder <instaldirectory>/ Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache
3) excute prompt command : devenev.exe /InstallVsTemplates


the step 2 is important , cause if u excute devenev.exe /InstallVsTemplates
, may be don't work

Thanks every body

# re: Missing an item template in Visual Studio 2005? Try this... 6/4/2007 3:56 AM Vuyo
I need to find dataset template on Visual C# as I'm doing some DAL there's no Dataset there, could you give me some steps to install the template??

# re: Missing an item template in Visual Studio 2005? Try this... 6/5/2007 8:03 AM Phil
Thanks cmf, that worked for me.

# re: Missing an item template in Visual Studio 2005? Try this... 6/14/2007 6:02 AM Pluto
Thanks to cmf. Your solution worked in my case.

# re: Missing an item template in Visual Studio 2005? Try this... 6/22/2007 1:06 AM Nobo
Hey guys. For those who are looking for the Web Project Templates the best thing to do is download an update from Microsoft especially made for the problem in question.
And can be found here:
http://www.microsoft.com/downloads/details.aspx?familyid=8B05EE00-9554-4733-8725-3CA89DD9BFCA&displaylang=en

that is the quickest and best way to do it.


# re: Missing an item template in Visual Studio 2005? Try this... 6/22/2007 10:45 PM rich
original post worked for me although i had to manually change directory to devenv's location (must not be in my path).

# re: Missing an item template in Visual Studio 2005? Try this... 7/26/2007 8:27 PM plavvy
Try This:

open iDE then go TOOLS -> OPTIONS -> Projects and Solutions -> General

in the 'visual studio user items templates location:' edit control add the path to the default installation item templates

(on my system its C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp\1033

cos im using C# :¬)

exit the ide then open ‘Visual Studio 2005 Command Prompt’ as administrator (i'm using vista but it doesn't make me a bad person)

run the 'devenv /installvstemplates' command and restart the ide. If the templates are not displayed now then i am a donkey

(Hee Haw)

# re: Missing an item template in Visual Studio 2005? Try this... 8/2/2007 2:11 AM Amir
I was missing DataSet template on add new items.
Your solution solved my problem.
Thank you
Amir

# re: Missing an item template in Visual Studio 2005? Try this... 8/8/2007 7:15 AM cweise
Hello Tsoufik ,

your solution has worked perfectly in my case.

Thank you very much.

# re: Missing an item template in Visual Studio 2005? Try this... 8/10/2007 4:07 AM Phil Short
Thanks, that saved me a some heartache! I've already done a complete reinstall before now to fix this problem.

devenv /installvstemplates worked like a charm.



# re: Missing an item template in Visual Studio 2005? Try this... 8/12/2007 11:26 AM Ringo
cmf, thank you for your solution.

It did work for me.

Thank you very much. :-)

# re: Missing an item template in Visual Studio 2005? Try this... 8/18/2007 3:16 PM Andre
Thank you!!!

:)

# re: Missing an item template in Visual Studio 2005? Try this... 8/30/2007 7:48 AM Jose
Thank you for the solution and the share of it!

Regards,

Jose

# re: Missing an item template in Visual Studio 2005? Try this... 9/5/2007 12:59 PM inoodle
Dude,
You just saved me from pulling my remaining hair out :)
Nice one.

# re: Missing an item template in Visual Studio 2005? Try this... 9/5/2007 11:03 PM randy
thanks!!! this lessen the freaks in me!!.. LOL

# re: Missing an item template in Visual Studio 2005? Try this... 9/10/2007 3:06 PM Raghuram
Thanks. . . i got resolved with the problem. . . thanks once again.

# re: Missing an item template in Visual Studio 2005? Try this... 9/10/2007 5:24 PM Nestor
I've been trying for hours and nothing has worked for me...
I can see the regular Windows Application templates, but the Web Sites Templates don't come up.

I'll keep searching, maybe I'll find something.

Thanks anyways.

# re: Missing an item template in Visual Studio 2005? Try this... 9/10/2007 6:24 PM Matt
Great Tip!! I was missing the web user control template and it was driving me crazy. Your solution fixed my problem

Thanks!

# re: Missing an item template in Visual Studio 2005? Try this... 9/11/2007 9:59 AM Eric Hammersley
Nestor,

That's not a problem with your templates, it's a change in the VS UI. You're used to having all the templates available when you choose New... Project. In 2005 that's not the case. You need to select New... Web Project to see the web templates, vice versa for the Winform Projects.

# I am missing Asp.net web application template.......Please help 9/13/2007 2:05 PM M.saleem
Please let me know how can i get ASP.net web application in
VS.Net 2005 at ur earliest. Initially when i installed vs.net 2005 software in my computer i found some templates are missing . So i reinstalled the software next time , but still the same problem persist. Please help me ......

# re: Missing an item template in Visual Studio 2005? Try this... 10/2/2007 3:50 AM abdul wahab
Thank you so much