EF6. Make sure "System.Data.Entity.Properties.Resources.PowerShell.resources" was correctly embedded or linked into assembly "EntityFramework"

asp.net-mvc c# entity-framework entity-framework-6 powershell

Question

I have ASP.NET MVC project and use EF6 in it. Till this point everything was working fine.

Recently however I did some refactor and move classes a bit. Entity in the project works fine unless I try to do Add-Migration or Update-Database.

Then I Get this error:

Could not find any resources appropriate for the specified culture or the neutral culture. 
Make sure "System.Data.Entity.Properties.Resources.PowerShell.resources" was correctly embedded or linked into assembly 
"EntityFramework" at compile time, or that all the satellite assemblies required are loadable and fully signed.

I investigated the issue but I don't have any Resource.resx files to change.

If I need one please help me create one

1
0
3/24/2020 12:44:12 PM

Accepted Answer

The solution has been found. I needed to update Entity Framework from 6.2 to 6.4

0
3/31/2020 9:38:30 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow