自从最近一次.NET Core ppa的更新和dotnet-host的更新之后,我无法再运行dotnet cli。在终端中运行dotnet --version命令时,只会出现以下错误:
Failed to resolve library symbol hostfxr_load, error: /usr/share/dotnet/host/fxr/1.0.1/libhostfxr.so: undefined symbol: hostfxr_load
Failed to resolve library symbol hostfxr_unload, error: /usr/share/dotnet/host/fxr/1.0.1/libhostfxr.so: undefined symbol: hostfxr_unload
This executable relies on newer functionality (exports) provided by 'libhostfxr.so'
- Updating 'libhostfxr.so' to version '1.0.2-beta-000583-00' might help resolve this problem.
我已经尝试清除所有与.NET Core相关的内容并重新安装,但仍然没有结果。有没有人有想法?
提前感谢。