Visual Studio 2008 sp1模板丢失 [英] Visual studio 2008 sp1 Template missing

查看:73
本文介绍了Visual Studio 2008 sp1模板丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要帮助,我在Visual Studio中遇到了一个问题.
我需要将Linq to SQL类模板(DBML)文件添加到项目中,
真的很奇怪.
我可以在项目中添加此DBML文件,但最近我想在项目中添加dbml,模板消失了.我现在正在使用C#.
真的很奇怪,我尝试打开VB.net,它可以添加DBML模板.

我在网上搜索,快要疯了.

我检查路径->下的文件夹C:\ Program Files(x86)\ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ ItemTemplates \ CSharp \ Data \ 1033.

它的确有模板文件,但是当我想添加dbml模板时看不到模板.
请有人帮忙.

Hello guys,

i need a help, i meet 1 problem in the visual studio.
i need to add the Linq to SQL class template (DBML) file to the project,
is really weird.
i can add this DBML file in the project, but recently i want to add a dbml in the project and the template gone. i using c# now..
really strange, i try open the VB.net it can add the DBML template.

i search through the web, almost going crazy..

i check the folder under path -> C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Data\1033.

it do have the template file inside, but cant see the template when i want to add the dbml template.
someone help please.

推荐答案

您是否已安装?运行devenv /VSInstallTemplates?,这里有代码显示如何执行此操作(作为文章的一部分,请看结尾处):
Have you checked it is installed? Run devenv /VSInstallTemplates? There is code that shows how to do that (as part of the article, see near the end) here: Adding your items to Visual Studio default files[^]


这篇关于Visual Studio 2008 sp1模板丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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