VS2008 No Item Templates
VS2008 No Item Templates
While trying to add a new web form item to a project at
a customer, I got the following error:
After pressing the OK button I got an empty Add New Item menu:
A little scary screen…
So I went to the Event Viewer as suggested in the error message and
looked at the event in the Application log which was:
So I closed all the VS2008 instances I had currently running and
tried to regenerate the templates by running the
devenv.exe /installvstemplates.
That didn’t work for me and I didn’t want to reinstall VS2008 or to
use the repair installation.
I tried another way which was to reset the VS setting by using the
devenv /resetsettings command and it worked.
I hope it will help you if you’ll get stuck with this error.