Adding new MVC/Razor items fails throwing an error about hostpolicy.dll
This article describes how to fix the error “There was an error running the selected code generator: ‘Failed to load the dll from \bin\Debug\netcoreapp\win-x86\hostpolicy.dll, HRESULT: 0x800700C1 An error occurred while loading required library hostpolicy.dll’” when you’re adding a new scaffolded item (such as a Razor page or ASP.NET Core MVC…Continue reading Adding new MVC/Razor items fails throwing an error about hostpolicy.dll