.NET
💡 App verificata AnduinOS - Open Source
.NET is an AnduinOS verified app and it runs awesome on AnduinOS, with easy installation and automatic updates.
.NET è una piattaforma di sviluppo gratuita, multipiattaforma e open source per creare molti tipi diversi di applicazioni.
Prima. Aggiungi il repository dei backport di .NET (se applicabile).
if [[ "$(lsb_release -sc)" =~ ^(devel|jammy|noble)$ ]]; then
sudo add-apt-repository ppa:dotnet/backports
fi
Per installare .NET 10 su AnduinOS, puoi eseguire:
sudo apt update
sudo apt install dotnet10
Per installare .NET 9 su AnduinOS, puoi eseguire:
sudo apt update
sudo apt install dotnet9
Per installare .NET 8 su AnduinOS, puoi eseguire:
sudo apt update
sudo apt install dotnet8
Questo è tutto. Ora puoi iniziare a usare .NET su AnduinOS.
mkdir myapp
cd myapp
dotnet new console
dotnet run
Strumenti globali .NET
Potrebbe essere necessario installare alcuni strumenti globali per aiutarti nello sviluppo. Puoi installarli usando il seguente comando:
# Dotnet tools
function TryInstallDotnetTool {
toolName=$1
globalTools=$(dotnet tool list --global)
if [[ $globalTools =~ $toolName ]]; then
echo "$toolName is already installed. Updating it.."
dotnet tool update --global $toolName --interactive
else
echo "$toolName is not installed. Installing it.."
if ! dotnet tool install --global $toolName --interactive ; then
echo "$toolName failed to be installed. Trying updating it.."
dotnet tool update --global $toolName --interactive
fi
fi
}
TryInstallDotnetTool "dotnet-ef"
TryInstallDotnetTool "Aiursoft.Static"
Commenti (0)
Nessun commento. Sii il primo a lasciarne uno!