![](/img/trans.png)
[英]dotnet ef migrations issue in Ubuntu 19.10. Dotnet sdk 3.1.1
[英]dotnet SDK not installing in Ubuntu 22.04
我嘗試為 C# 下載 do.net SDK
sudo apt-get install -y dotnet6
但它說
A fatal error occurred. The folder [/usr/lib/dotnet/dotnet6-6.0.110/host/fxr] does not exist
如果系統上已經安裝了 Do.net SDK,請嘗試以下操作,它會有所幫助
sudo apt-get update
然后
sudo apt-get upgrade
如果提示是或否,請選擇是
也許它會要求你重新啟動
這對我有用。
sudo apt remove do.net* sudo rm /etc/apt/sources.iist.d/microsoft-prod.list sudo apt update sudo apt install -y do.net6
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.