EntityFramework error: The provider did not return a ProviderManifest instance

后端 未结 8 2125
-上瘾入骨i
-上瘾入骨i 2021-01-07 22:58

My project is using ASP.NET MVC4, in C# with Visual Studio 2012 for Web Express.

When compiling my project, I have the following error:

The pr

8条回答
  •  旧巷少年郎
    2021-01-07 23:19

    Replacing 2012 with 2008 in ProviderManifestToken="2012" in the .edmx file worked for me.

    1. Replace 2012 with 2008 in ProviderManifestToken="2012"
    2. Save the .edmx file
    3. Clean and rebuild solution

提交回复
热议问题