【发布时间】:2020-12-23 10:46:17
【问题描述】:
像 dotnet/dotnet-docker#1537 但我在独立机器上的 CenOS 8(不是 Docker)上有同样的错误。 使用 2020 年 12 月 23 日的最新更新清洁新的 CentOS 8。 在控制台中:
sudo dnf install aspnetcore-runtime-3.1 - 好的
dotnet - OK(显示使用手册)
dotnet --info - 错误:
A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders
dotnet --list-runtimes - 错误:
A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders
dotnet *.dll - 错误:
A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders
文件夹/usr/share/dotnet/host/fxr 真的是空的。尝试安装 SDK - 无效
【问题讨论】:
标签: .net asp.net-core .net-core centos8