Unable to load DLL Microsoft.Data.SqlClient.SNI.x86.dll in Entityframework core

Viewed 2618

I have web-form project (project A) which has reference to another class library project (Project B) which I use for Data Access Layer, I installed EntityFramework 3.1.15 in both projects A & B, now I got a run-time error in db.SaveChanges(); error says:

Unable to load DLL 'Microsoft.Data.SqlClient.SNI.x86.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Project B is using .NETFramework 4.7.2, and Project A was .NETFramework 4.5 & later I changed it to .NETFramework 4.7.2. but I got same error.

How can I resolve this?

0 Answers
Related