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