简体   繁体   English

Visual Studio 2013新项目基于Visual C#服务的数据库项丢失

[英]Visual Studio 2013 New Project Visual C# Service-based Database item is missing

I am running Visual Studio Community 2013 and one time when following tutorial about database projects I noticed that I dont have item. 我正在运行Visual Studio Community 2013,有一次我在遵循有关数据库项目的教程时发现没有项目。
New Project -> Visual C# -> Data -> Service-based Database 新建项目-> Visual C#->数据->基于服务的数据库
I dont even have a Data tab. 我什至没有“数据”标签。 I have image but cant post it until I will have 10 reputation... 我有图片,但无法发布它,直到我有10个声誉为止。

I have tried to delete folders: 我试图删除文件夹:

...Common7\\IDE\\ItemTemplates ... Common7 \\ IDE \\ ItemTemplates
...Common7\\IDE\\ItemTemplatesCache ... Common7 \\ IDE \\ ItemTemplatesCache

then use 然后使用

devenv.exe /InstallVSTemplates

I have also tried to repair Microsoft Visual Studio from Add/Remove programs and Install SQL DATA TOOLS but problem still exists. 我也尝试过从“添加/删除程序”修复Microsoft Visual Studio并安装SQL数据工具,但问题仍然存在。

Any 1 have idea how to solve that ? 任何一个人都知道如何解决这个问题?

The Service Based Database is not a Project, but a File template. 基于服务的数据库不是项目,而是文件模板。 So either on an existing project or on a new blank Class Library project use the Add new Item... option and you should be able to find the correct file template. 因此,在现有项目或新的空白类库项目上,请使用“ 添加新项...”选项,您应该能够找到正确的文件模板。

See also: https://msdn.microsoft.com/en-us/library/ms233763.aspx 另请参阅: https : //msdn.microsoft.com/en-us/library/ms233763.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM