I'm using Visual studio to build my REST Api. My project actually has two sub-projects, one is Entity framework and other is Asp.net web api. I have migrated my asp.net web api project from Windows to Mac. I have installed Visual Studio on Mac and debug it successfully. But when I run my api it shows exception:
ExceptionMessage: Unable to load the specified metadata resource.
ExceptionType: System.Data.Entity.Core.MetadataException.
I have explore this exception and try many solution but still I have a problem. I have tried:
1: EDMX Problem: change connection string
2: 2nd solution
3: 3rd solution
4: 4th solution
Also when I see on my Asp.net web api project references, System.Web.Entity reference shows error "Assembly not found for framework .Net Framework 4.6"
And I have tried many solution for this exception as well. I have followed:
I have tried to install Developer Pack but it has only windows version.
How can I fix it.