Global.asax template not available in Visual Studio

When I try to "add new item" to my web project (right click add new item) - there is no template for it. What is the problem? I am using VS2008.

Additional Information:
When I right click on the solution and Add New Website - I have zero tempates to choose from.
I tried to run devenv /installvstemplates

and this template is still empty.

I only have three templates in the following directory.
Is there somewhere I can just copy other templates manually?

C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ ItemTemplates \ Web \ CSharp \ 1033

+2


source to share


4 answers


Unfortunately the answer for me was to reinstall VS. Not exactly exactly what the problem is, but it has been fixed.



0


source


Try to open Visual Studio Command Prompt (as Administrator) and run devenv.exe /Setup

from the VS 2008 installation path (C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE in my case) or run from the prompt:devenv /installvstemplates



+2


source


Update:

It looks like several people reported the same problem .

There is a hotfix available that may help you.

+1


source


This is probably your type of project. Try to create a new web project.

+1


source







All Articles