在Visual Studio中不可用的Global.asax模板

编程入门 行业动态 更新时间:2024-10-23 07:37:56
本文介绍了在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模板

本文发布于:2023-11-10 22:03:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1576582.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中不   模板   Studio   Visual   Global

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!