在Linux上的Rider中运行blazor wasm应用会引发错误

时间:2020-08-05 19:10:19

标签: c# asp.net linux blazor rider

我的操作系统是Zorin 15.2(Ubuntu 18.04 LTS),当前安装了dotnet版本3.1.101。

当我在带有模板的终端中创建一些blazor wasm项目时 dotnet new blazorwasm -o FIS 然后点击dotnet run,它会完美运行。 在我在Rider中打开并尝试在其中运行后,它向我抛出了以下错误消息:

A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/home/richard/Documents/csharp/schoolsite/FIS/bin/Debug/netstandard2.1/'. Failed to run as a self-contained app. If this should be a framework-dependent app, specify the appropriate framework in /home/richard/Documents/csharp/schoolsite/FIS/bin/Debug/netstandard2.1/FIS.runtimeconfig.json

任何想法怎么办?预先感谢!

0 个答案:

没有答案