I was trying to create an ASP.NET MVC web application in Visual Studio 2017. I need to take an EF database-first approach for the work.
Unfortunately I can\'t find t
It seems you added "Class Library (.NET Standard)" which is not supporting ADO.net Entity Data Model. You may add "Class Library (.NET Framework)"
I was having the same problem in VS2017 Community Edition. I had previously tried following but none worked:
In the end upon closer investigation I had targeted the wrong
See Image: you should be selected .NET Framework instead of .NET Standard
For me changed to the correct project type while Targeting ".NET framework" instead of ".NET Standard" worked.
Basically what I found is when you choose .Net Core Project EF not shown under data tab. You need to choose .Net Framework Instead of .Net Core. Then you will find all the stuffs under data tab.
To solve above problem you can modify Visual Studio 2017.You can follow these steps.
Go to Control Panel\Programs\Programs and Features of your computer.
Select Microsoft Visual Studio 2017, right click on it and change.
It will goes to Visual Studio Products window and now click on modify button.
Now tick ASP.Net and web development workload in Web & Cloud section and modify it.
Finally launch Visual Studio 2017.
Just simply open Visual studio setup
. If you already installed choose to modify section and tick .NET desktop development
option and install it.