Entity Framework not appearing in Add New Item list in Visual Studio 2017

后端 未结 4 1631
暖寄归人
暖寄归人 2021-02-12 23:18

I created a new MVC project in Visual Studio 2017. I wanted to add an EDMX file (I will be doing database-first) so right clicked on the project and selected Add|New Item.

4条回答
  •  别那么骄傲
    2021-02-12 23:43

    I faced this issue, while creating an MVC application on my latest installation of VS2017.

    Failed: Tried installing Entity Framework using Nuget package manager[Install-Package EntityFramework], but failed to show Ado.NET Entity data model

    Success: 1. open programs under control panel and select Visual Studio 2017 2. select Change the installation 3. Select Modify installation 4. Select Individual components 5. If SQL server data tools already installed, deselect/uninstall this component and reinstall the same again. 6. uninstall and reinstall SQL Server Data tools

    Note: with one component change, other components may also be deleted. You have to recheck while reinstalling

提交回复
热议问题