- Published on
- Authors
- koskila
EF Core fails to load hostpolicy.dll when RuntimeIdentifier is win-x86
I ran into another interesting one when working with a .NET Core 3.0 project and Entity Framework Core - this time, RuntimeIdentifier configuration causing trouble. In short, running Update-Database (to apply code-first migrations to your local database) locally would return this, annoying error: Failed to load the dll from [runtimepath]\win-x86\hostpolicy.dll], HRESULT: 0x800700C1 An error occurred while loading required library hostpolicy.
























