我有一台运行很多.NET核心应用程序的Ubuntu18.04Linux x64服务器。它们都是作为独立应用程序发布的,.NET核心版本在2.1、3.1和5.0之间变化。我没有在机器上安装SDK运行时(更不用说.NET了),也不想安装它。 我想为.NET Core3.1自包含的应用程序运行dotnet-sos、dotnet-dump和dotnet-gcdump等工具。链接的页面为它们提供了直接的下载链接,例如https://aka.ms/dotnet-sos/linux-x64。但是,当我运行下载的dotnet-sos工具时,它失败了 A fatal error occurred. The r
sudo dpkg --remove --force-remove-reinstreq dotnet-runtime-2.0.0The following packages have unmet dependencies:
dotnet-sdk-2.2 : Depends: aspnetcore-runtime-2.2 (>= 2.2.3) but it is not going to be installe
我用的是Mac,新的.NET 5.0刚刚发布。我已经用dotnet-install.sh安装了它 dotnet-install.sh --version 5.0.100
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dot
ubuntu OS Platform: Linux Base Path: /snap/dotnet-sdk(useful for support): Commit: 839cdfb0ec
6.0.102 [/snap/dotnet-sdk/155/sdk]
.NET runtimes installed
ubuntu OS Platform: Linux Base Path: /snap/dotnet-sdk(useful for support): Commit: f27d337295
5.0.201 [/snap/dotnet-sdk/116/sdk]
.NET runtimes installed
ubuntu OS Platform: Linux Base Path: /snap/dotnet-sdk(useful for support): Commit: 4822e3c3aa
6.0.100 [/snap/dotnet-sdk/147/sdk]
.NET runtimes installed