And*_*riy 4 .net jetbrains-rider
我已经dotnet-sdk-7.0安装并且一切正常。昨天,我从 Microsoft 包存储库安装,dotnet-sdk-8.0首先从我的发行版中删除现有的 .NET 包:sudo apt remove 'dotnet*' 'aspnet*' 'netstandard*'
现在 Rider 无法运行我的项目。
我的系统: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
Run Code Online (Sandbox Code Playgroud)
骑手错误:
/.../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.
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?
小智 5
遇到了完全相同的问题。对我来说解决方案是编辑
/etc/dotnet/install_location
/etc/dotnet/install_location_x64
Run Code Online (Sandbox Code Playgroud)
/usr/share/dotnet代替/usr/lib/dotnet
改变之后一切都很好。
| 归档时间: |
|
| 查看次数: |
774 次 |
| 最近记录: |