我的操作系统是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
任何想法怎么办?预先感谢!