発表プロジェクトMVC 4-EF 6.0エラー


エラー:
The Entity Framework provider type ' System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServerVersion=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'  for the ' System.Data.SqlClient ' ADO.NET provider could not be loaded. Make sure the provider assembly is available to the running application.
See http://go.microsoft.com/fwlink/?LinkId=260882 for more information..
 
何時間も探した
この文章を見つけて
http://stackoverflow.com/questions/14033193/entity-framework-provider-type-could-not-be-loaded
EFコンテキストに追加
public void FixEfProviderServicesProblem()
{

var instance = System.Data.Entity.SqlServer.SqlProviderServices.Instance;
}

 
転載先:https://www.cnblogs.com/Sunlimi/p/error-mvc4-ef6.html