EF6。确保 "System.Data.Entity.Properties.Resources.PowerShell.resources" 已正确嵌入或链接到程序集 "EntityFramework"
EF6. Make sure "System.Data.Entity.Properties.Resources.PowerShell.resources" was correctly embedded or linked into assembly "EntityFramework"
我有 ASP.NET 个 MVC 项目并在其中使用了 EF6。
到目前为止一切正常。
不过最近我做了一些重构并稍微移动了 类。项目中的实体工作正常,除非我尝试做 Add-Migration
或 Update-Database
.
然后我得到这个错误:
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.
我调查了这个问题,但我没有任何 Resource.resx 文件要更改。
如果我需要一个请帮我创建一个
已找到解决方案。
我需要将 Entity Framework 从 6.2 更新到 6.4
我有 ASP.NET 个 MVC 项目并在其中使用了 EF6。 到目前为止一切正常。
不过最近我做了一些重构并稍微移动了 类。项目中的实体工作正常,除非我尝试做 Add-Migration
或 Update-Database
.
然后我得到这个错误:
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.
我调查了这个问题,但我没有任何 Resource.resx 文件要更改。
如果我需要一个请帮我创建一个
已找到解决方案。 我需要将 Entity Framework 从 6.2 更新到 6.4