문제:
WPF 프로젝트에서 Omnisharp가 "Windows is required to build Windows desktop applications." 오류와 함께 프로젝트 분석을 스킵함
해결:
https://github.com/dotnet/sdk/issues/3592#issuecomment-571346342
NETSDK1100 blocks building on Linux · Issue #3592 · dotnet/sdk
I have a test project which multi-targets between net472;netcoreapp2.1;netcoreapp3.0. Only when targeting net472 or netcoreapp3.0 does it reference or use any WPF/WinForms types. Nevertheless, I ha...
github.com
+ 공식 패키지 관리자의 SDK를 사용하지 말 것
https://docs.microsoft.com/ko-kr/dotnet/core/install/linux-scripted-manual
패키지 관리자를 사용하지 않고 Linux에 .NET 설치 - .NET
패키지 관리자 없이 Linux에 .NET SDK 및 .NET 런타임을 설치하는 방법을 보여 줍니다. 설치 스크립트를 사용하거나 이진 파일을 수동으로 추출합니다.
docs.microsoft.com
위 링크에서 스크립트를 받아 설치할 것
반응형
'Linux' 카테고리의 다른 글
vim-gutentags 저장 시 오류 (0) | 2022.04.24 |
---|---|
WSL2 /etc/wsl.conf 변경점이 적용되지 않음 (0) | 2021.10.05 |
특정 디렉터리를 제외한 디렉터리에서 탐색 (0) | 2021.03.15 |
WSL2 Ubuntu 시작 시 /var/run/utmp 파일을 생성하지 않음 (0) | 2021.03.13 |
ssh guest 격리 (chroot) (0) | 2021.03.12 |
chroot 사용시 bash 정상 작동하지 않음 (0) | 2021.03.12 |
WSL2 권한 실수 해결 (0) | 2021.03.10 |