System.Data.Entity.DbContext can't find to add as a reference

前端 未结 2 806

When I go to build my project, I get this error:

The type \'System.Data.Entity.DbContext\' is defined in an assembly that is not referenced. You must

2条回答
  •  我在风中等你
    2021-01-14 11:37

    1. Go to the Solution Explorer
    2. Right-Click on References -> Manage NuGet Packages...
    3. Select Online-> Microsoft and .NET Click
    4. Click Install next to .Net EntityFramework

提交回复
热议问题