Can't find ADO.net Entity Data Model template in VS2017

前端 未结 21 3074
我寻月下人不归
我寻月下人不归 2020-11-30 06:16

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

相关标签:
21条回答
  • 2020-11-30 07:04

    i my case my project->properties->target framework was 2.0, i change to 4.5 and know it works know i see the ado.net entity data model.

    0 讨论(0)
  • 2020-11-30 07:06

    Make sure that you're right - clicking an appropriate project, not the solution.

    The respective UIs look almost identical; they even have the same keyboard shortcut. The one from the solution will "miss" the Data tab if you expect it to be there; e.g. from screenshots.

    Also make sure, as per previous posts that you have: a. A Project that supports Entity Framework and b. You did have the appropriate tools installed.

    0 讨论(0)
  • 2020-11-30 07:06

    Visual Studio displays available projects according to the area where you clicked. Right Click on the project's name root -> add -> new item -> Data you will be able to select ADO.NET Entity Data Model

    0 讨论(0)
  • 2020-11-30 07:07

    Tools-->Click Get Tools and Features-->Click on Modify--> Click on Individual components--> Tick the CheckBox of Entity Framework 6 Tools -->click on Modify--> You'll get a pop up window-->click on Retry(if it not closed, Click on Continue)

    Now Launch VS and this time check in Data ADO.NET Entity Model will be added.

    Please Check this Article http://dotnet-jigyasa.blogspot.com/2018/03/adonet-entity-data-model-missing-visual.html Worked for me.

    0 讨论(0)
  • 2020-11-30 07:08

    Visual Studio displays available projects according to the area where you clicked. Right Click on the project's name root -> add -> new item -> Data you will be able to select ADO.NET Entity Data Model

    0 讨论(0)
  • 2020-11-30 07:09
    1. File -> New Project
    2. Select Web -> ASP.NET Web Application (.NET Framework) image 1
    3. Right Click Models -> Add -> New Item (Note: it won't work for other folders like App_Data) image 2
    4. Choose Visual C# Then ADO.NET Entity Data Model image 3
    0 讨论(0)
提交回复
热议问题