是否可以在 Visual Studio Codespaces 上使用 dotnet 5?我已按照此处https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#1804-找到的 ubuntu 18.04 的说明进行操作
运行后:
sudo apt-get install -y dotnet-sdk-5.0
我得到回应:
Reading package lists... Done
Building dependency tree
Reading state information... Done
dotnet-sdk-5.0 is already the newest version (5.0.100-1).
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
当我运行时,dotnet --list-sdks
我得到以下版本:
1.1.14 [/home/codespace/.dotnet/sdk]
2.1.807 [/home/codespace/.dotnet/sdk]
2.2.402 [/home/codespace/.dotnet/sdk]
3.0.103 [/home/codespace/.dotnet/sdk]
3.1.301 [/home/codespace/.dotnet/sdk]
为什么5.0没有显示?