efcore icon indicating copy to clipboard operation
efcore copied to clipboard

DbContext package reference issue

Open takazm opened this issue 11 years ago • 2 comments

I am getting the following error on the context class after updating packages to RC2: The type 'DbContext' exists in both 'EntityFramework.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null' and 'EntityFramework.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'

takazm avatar Nov 28 '15 09:11 takazm

@takazm it looks like you somehow have both the signed and unsigned versions of EF7 there (presumably RC1 and RC2). This is likely a DNX or NuGet issue - depending on what type of project you are using. Are you able to consistently reproduce it, or is it just in the one project? And is it an ASP.NET 5 project?

rowanmiller avatar Dec 02 '15 21:12 rowanmiller

Closing as we have not heard back with requested details

rowanmiller avatar Dec 08 '15 20:12 rowanmiller