当我尝试添加新项目到我的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模板
发布评论