.NET
💡 AnduinOS 인증 앱 - 오픈소스
.NET is an AnduinOS verified app and it runs awesome on AnduinOS, with easy installation and automatic updates.
.NET은 다양한 유형의 애플리케이션을 구축하기 위한 무료, 크로스 플랫폼, 오픈 소스 개발자 플랫폼입니다.
첫째. .NET 백포트 저장소를 추가합니다(해당되는 경우).
if [[ "$(lsb_release -sc)" =~ ^(devel|jammy|noble)$ ]]; then
sudo add-apt-repository ppa:dotnet/backports
fi
AnduinOS에 .NET 10을 설치하려면 다음을 실행할 수 있습니다:
sudo apt update
sudo apt install dotnet10
AnduinOS에 .NET 9을(를) 설치하려면 다음 명령어를 실행할 수 있습니다:
sudo apt update
sudo apt install dotnet9
AnduinOS에 .NET 8을 설치하려면 다음을 실행할 수 있습니다:
sudo apt update
sudo apt install dotnet8
이것으로 끝입니다. 이제 AnduinOS에서 .NET을 사용 시작할 수 있습니다.
mkdir myapp
cd myapp
dotnet new console
dotnet run
.NET 글로벌 도구
개발에 도움이 되도록 일부 글로벌 도구를 설치해야 할 수 있습니다. 다음 명령을 사용하여 설치할 수 있습니다:
# 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"
댓글 (0)
아직 댓글이 없습니다. 먼저 댓글을 남겨보세요!