EntityFramework package version=“6.1.3” and Web config version 6.0.0.0?

后端 未结 2 987
耶瑟儿~
耶瑟儿~ 2021-01-18 09:50

I created a ASP.NET project which included EF 6.1.3

Its show package version=\"6.1.3\" and in Web.config version 6.0.0.0

However in web.config i still have

相关标签:
2条回答
  • 2021-01-18 10:19

    Version 6.1.3 that you download through NuGet has an actual product version of 6.0.0, they are the same thing. See Microsoft Download Centre

    Your error with namespace 'infrastructure' is discussed here and could just need a reference to System.Data.Entity.dll

    0 讨论(0)
  • 2021-01-18 10:26

    You need to add the reference to System.Data.Entity.dll in your project. Also try to add EntityFramework.dll by browsing it to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE and then choose EntityFramework.dll.

    0 讨论(0)
提交回复
热议问题