0
The type 'System.Data.Entity.DbContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
正如你可以看到我的实体框架是在参考抱怨,试图解决这个问题,但毫无进展。有人遇到过这个问题吗?基本上,我想这样做: http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api
您试图解决什么问题? 手动添加了dll? 在项目上安装了nuget软件包? – dariogriffo
您可能需要尝试以下方法http://stackoverflow.com/questions/21188454/reference-to-assembly-error –
您需要首先从NuGet安装EF,然后才能与您的项目一起工作。 – IronMan84