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

Linq to-SqlVisual Studio-2017

Linq to-Sql Problem Overview


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

This is the ss of Data templates.

Linq to-Sql Solutions


Solution 1 - Linq to-Sql

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

Solution 2 - Linq to-Sql

By default VS 2017 installer doesn't provide LINQ to SQL tools while installing we have to select that and modify.

Follow easy steps from here:

Open VS2017 installer.

Go to Individual Components.

Select he LINQ To SQL tools from code tools.

and just modify.

or check this screenshot you will get the idea.

VS2017 installer

Solution 3 - Linq to-Sql

Steps:

  1. Open VS 2017
  2. Go to Tools -> Get Tools and Features
  3. Click on Individual Components tab
  4. Scroll down, you will find "Linq to Sql tools" under Code tools category
  5. Check and click on Modify. It will install the component, its around 6 mb

Solution 4 - Linq to-Sql

SuperUser.com also contains a nice answer

Basically you need to modify your VS2017 installation and add the standalone Linq-to-Sql component.

Solution 5 - Linq to-Sql

Open Vs 2017 installer, go to individual components and check LINQToSQL component then click modify button.

Solution 6 - Linq to-Sql

​If, you use the DotNetCore. Linq to SQL doesn't show the option. To use Linq to SQL, you need to select DotNetFrameWork then you'll have an option to select Linq to SQL. It worked for me.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionÇağatay AyView Question on Stackoverflow
Solution 1 - Linq to-SqlErikEJView Answer on Stackoverflow
Solution 2 - Linq to-SqlMr.Javed MultaniView Answer on Stackoverflow
Solution 3 - Linq to-SqlAmit BaderiaView Answer on Stackoverflow
Solution 4 - Linq to-SqlHannoView Answer on Stackoverflow
Solution 5 - Linq to-SqlBahaa SalaheldinView Answer on Stackoverflow
Solution 6 - Linq to-SqlNick_HView Answer on Stackoverflow