在Visual Studio中不可用的Global.asax模板 [英] Global.asax template not available in Visual Studio

查看:466
本文介绍了在Visual Studio中不可用的Global.asax模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试添加新项目到我的web项目(通过右键单击添加新项) - 有没有为它的模板。可能是什么问题呢?我使用VS2008。

附加信息:结果
当我在解决方案点击右键,添加,新网站 - 我有零tempates可供选择结果。
我曾尝试运行 devenv的/ installvstemplates 键,这个模板框仍然是空的。

我在以下目录中只有三个模板。结果有没有什么地方我可以在其他模板从手工复制?


  

C:\\ Program Files文件\\微软的Visual Studio
  9.0 \\ Common7 \\ IDE \\的ItemTemplate \\网络\\ CSHARP \\ 1033



解决方案

不幸的是,我的回答是重新安装VS.不完全知道是什么问题是,但固定它。

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

解决方案

Unfortunately, the answer for me was re-installing VS. Not exactly sure what the issue was, but that fixed it.

这篇关于在Visual Studio中不可用的Global.asax模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆