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

前端 未结 21 3261
我寻月下人不归
我寻月下人不归 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条回答
  •  -上瘾入骨i
    2020-11-30 06:48

    I was having the same problem in VS2017 Community Edition. I had previously tried following but none worked:

    • Installed new feature for "SQL Server Data Tools".
    • Installed NuGet Libraries.

    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.

提交回复
热议问题