Re: MySql.Data.EntityFrameworkCore and full .NET Framework
Posted by: Alan Insley
Date: October 13, 2016 03:35AM

I tried every combination of referencing this in a other project ie. .net core app, .net app, adding the project to a solution, referencing the generrated dll directly and finally creating a local nuget package and referenced that.

Every time I got this error when I tried to access the DB:

"Could not load file or assembly 'MySql.Data.EntityFrameworkCore, Version=, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)"

So I have now tried Pomelo.EntityFrameworkCore.MySql instead and this worked in all of the above scenario's so I am using that instead.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.