问题:
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Program Files\dotnet\'.
Failed to run as a self-contained app.
Failed to run as a self-contained app.
解决方案
添加以下配置,然后重新生成
<GenerateRuntimeConfigDevFile>true</GenerateRuntimeConfigDevFile>
文章评论