我安装了dotnet-sdk-7.0
台,一切都运行得很好.昨天我从Microsoft软件包库安装了dotnet-sdk-8.0
,首先从我的发行版中删除了现有的.NET包:sudo apt remove 'dotnet*' 'aspnet*' 'netstandard*'
现在莱德不能运行我的项目了.
我的系统:Ubuntu 22.04.3 LTS
dotnet --info
:
.NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.6c33ef20
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/8.0.100/
.NET workloads installed:
Workload version: 8.0.100-manifests.6c33ef20
There are no installed workloads to display.
Host:
Version: 8.0.0
Architecture: x64
Commit: 5535e31a71
.NET SDKs installed:
8.0.100 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
骑手错误:
/.../Project/src/Xxx.GraphQl/bin/Debug/net8.0/DataGateway.GraphQl
You must install .NET to run this application.
App: /.../Project/src/Xxx.GraphQl/bin/Debug/net8.0/DataGateway.GraphQl
Architecture: x64
App host version: 8.0.0
.NET location: Not found
Learn more:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=linux-x64&os=ubuntu.22.04&apphost_version=8.0.0
Process finished with exit code 131.
有什么主意吗?