在Visual Studio 2017 RC中缺少LINQ to SQL类(DBML设计器) [英] Missing LINQ to SQL Classes (DBML designer) in Visual Studio 2017 RC

查看:477
本文介绍了在Visual Studio 2017 RC中缺少LINQ to SQL类(DBML设计器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将LINQ添加到SQL类(.dbml文件)到Visual Studio 2017 RC.我找不到请帮助,谢谢.

How can I add LINQ to SQL class (.dbml file) to Visual Studio 2017 RC. I can't find it. Please help, thanks.

推荐答案

您需要选择在安装过程中启用设计器,默认情况下未启用它:

You need to opt in to enable the designer during installation, it is not enabled by default: https://developercommunity.visualstudio.com/content/problem/4616/linq-to-sql-dbml-designer-in-not-working.html

使用设计器图面编辑.dbml文件需要 LINQ to SQL工具,默认情况下,这些工具不会作为Visual Studio 2017的任何工作负载的一部分进行安装. Visual Studio安装程序的单个组件" 选项卡中的代码工具" 类别下的"LINQ to SQL工具" 项."

"Editing .dbml files with a designer surface requires the LINQ to SQL tools which are not installed by default as part of any of the workloads of Visual Studio 2017. It can be installed by selecting the 'LINQ to SQL tools' item under the 'Code Tools' category in the 'Individual Components' tab of the Visual Studio installer."

这篇关于在Visual Studio 2017 RC中缺少LINQ to SQL类(DBML设计器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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