R – Global.asax template not available in Visual Studio

asp.netglobal-asaxmissing-featuresvisual studio 2012visual-studio-2008

When I attempt to "add new item" to my web project (by right-clicking, add new item) – there is no template for it. What might the problem be? I'm using VS2008.

Additional Info:
When I right click on the solution and "Add", "New Web Site" – I have zero tempates to choose from.
I have tried running devenv /installvstemplates and this template box is still empty.

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

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

Best Answer

Try opening the Visual Studio command prompt (as an administrator) and run devenv.exe /Setup from your VS 2008 installation path (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE in my case), or run from the same prompt: devenv /installvstemplates

Related Topic