Linux에서 .Net Core를 사용하고 최신 릴리스가 있습니다.
> sudo pacman -Qs dotnet
local/dotnet-host 2.1.0-1
A generic driver for the .NET Core Command Line Interface
local/dotnet-runtime 2.1.0-1
The .NET Core runtime
local/dotnet-sdk 2.1.300-1
The .NET Core SDK
> dotnet --version
2.1.300
하지만 샘플 애플리케이션을 실행하려면 (면도기 템플릿 만) :
> dotnet run
Using launch settings from /home/user/src/WebRepTrack/Properties/launchSettings.json...
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.App', version '2.1.0' was not found.
- Check application dependencies and target a framework version installed at:
/opt/dotnet/
- Installing .NET Core prerequisites might help resolve this problem:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
- The .NET Core framework and SDK can be installed from:
https://aka.ms/dotnet-download
이 문제를 살펴보면 문제는 사용자가 적절한 sdk / runtime 버전을 설치하지 않았다는 것이지만 그것이 내 문제의 원인이 아닙니다.
편집 : github에서 dotnet-core repo를 살펴본 후 MS는 이제 aspnetcore-runtime-2.1.0 패키지와 함께 asp.net 코어 지원을 제공한다는 것을 깨달았습니다 (이전에는 코어 런타임과 함께 제공됨). ArchLinux 패키지 에는이 변경 사항이 포함되어 dotnet-runtime
있지 않습니다 ! 자세한 내용은 여기를 참조하십시오 :
https://bugs.archlinux.org/task/58806
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다