Missing LINQ to SQL Classes (DBML designer) in Visual Studio 2017 RC

前端 未结 6 825
日久生厌
日久生厌 2020-12-24 04:20

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

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 05:10

    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

    "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."

提交回复
热议问题