Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

(시리즈 글이 5개 있습니다.)
개발 환경 구성: 543. 애저듣보잡 - Github Workflow/Actions 소개
; https://www.sysnet.pe.kr/2/0/12541

개발 환경 구성: 545. github workflow/actions에서 빌드시 snk 파일 다루는 방법 - Encrypted secrets
; https://www.sysnet.pe.kr/2/0/12546

개발 환경 구성: 546. github workflow/actions에서 nuget 패키지 등록하는 방법
; https://www.sysnet.pe.kr/2/0/12548

개발 환경 구성: 547. github workflow/actions에서 Visual Studio Marketplace 패키지 등록하는 방법
; https://www.sysnet.pe.kr/2/0/12552

개발 환경 구성: 623. Visual Studio 2022 빌드 환경을 위한 github Actions 설정
; https://www.sysnet.pe.kr/2/0/12904




Visual Studio 2022 빌드 환경을 위한 github Actions 설정

github action을 설정해 두었던,

github workflow/actions에서 Visual Studio Marketplace 패키지 등록하는 방법
; https://www.sysnet.pe.kr/2/0/12552

프로젝트를 Visual Studio 2022로 마이그레이션한 후, commit을 했더니 이런 오류가 발생했습니다.

VSSDK : error VSSDK1062: Schema validation error for 'D:\a\XmlCodeGenerator\XmlCodeGenerator\XmlCodeGenerator\obj\Release\extension.vsixmanifest'. The 'http://schemas.microsoft.com/developer/vsx-schema/2011:Assets' element is not declared. [D:\a\XmlCodeGenerator\XmlCodeGenerator\XmlCodeGenerator\XmlCodeGenerator.csproj]


VSSDK : error VSSDK1062: Schema validation error for 'D:\a\XmlCodeGenerator\XmlCodeGenerator\XmlCodeGenerator\obj\Release\extension.vsixmanifest'. The element 'PackageManifest' in namespace 'http://schemas.microsoft.com/developer/vsx-schema/2011' has invalid child element 'InstallationTarget' in namespace 'http://schemas.microsoft.com/developer/vsx-schema/2011'. List of possible elements expected: 'Metadata, Installation, Dependencies, Assets, Prerequisites, Installer' in namespace 'http://schemas.microsoft.com/developer/vsx-schema/2011' as well as any element in namespace '##other'. [D:\a\XmlCodeGenerator\XmlCodeGenerator\XmlCodeGenerator\XmlCodeGenerator.csproj]


어쩔 수 없습니다, 이렇게 되면 빌드 환경도 2022로 맞춰야 합니다. 다행히 방법이 매우 간단한데요,

GitHub Actions: Windows Server 2022 with Visual Studio 2022 is now generally available on GitHub-hosted runners
; https://github.blog/changelog/2021-11-16-github-actions-windows-server-2022-with-visual-studio-2022-is-now-generally-available-on-github-hosted-runners/

단지, "runs-on" 속성만 바꿔주면 되는 것입니다

  build:
    runs-on: windows-2022

일단, 해결은 했지만 좀 이해할 수가 없군요. ^^ 원래의 설정은 "runs-on: windows-latest"였는데, "latest"의 의미를 감안하면 당연히 2022가 적용이 되었어야 하는 거 아닐까요?!




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 1/8/2022]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 



2022-02-10 09시26분
"windows-latest"가 이제 기본으로 Windows Server 2022로 바뀌었다고 합니다.

GitHub Actions: Jobs running on `windows-latest` are now running on Windows Server 2022.
; https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/

(제가 글을 쓰고 불과 3일 후에 바뀌었군요. ^^)

2022에 설치된 소프트웨어 목록은 다음의 링크에서 자세하게 확인할 수 있습니다.

virtual-environments/images/win/Windows2022-Readme.md
; https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md

-------------------------------

Build .NET MAUI Apps with DevOps | .NET Conf 2023
; https://youtu.be/PattkMhmnzE
정성태

1  2  3  4  5  6  7  8  9  10  11  12  [13]  14  15  ...
NoWriterDateCnt.TitleFile(s)
13303정성태3/30/20233679Windows: 241. 환경 변수 %PATH%에 DLL을 찾는 규칙
13302정성태3/30/20234296Windows: 240. RDP 환경에서 바뀌는 %TEMP% 디렉터리 경로
13301정성태3/29/20234391Windows: 239. C/C++ - Windows 10 Version 1607부터 지원하는 /DEPENDENTLOADFLAG 옵션파일 다운로드1
13300정성태3/28/20234031Windows: 238. Win32 - Modal UI 창에 올바른 Owner(HWND)를 설정해야 하는 이유
13299정성태3/27/20233802Windows: 237. Win32 - 모든 메시지 루프를 탈출하는 WM_QUIT 메시지
13298정성태3/27/20233756Windows: 236. Win32 - MessageBeep 소리가 안 들린다면?
13297정성태3/26/20234419Windows: 235. Win32 - Code Modal과 UI Modal
13296정성태3/25/20233771Windows: 234. IsDialogMessage와 협업하는 WM_GETDLGCODE Win32 메시지 [1]파일 다운로드1
13295정성태3/24/20234043Windows: 233. Win32 - modeless 대화창을 modal처럼 동작하게 만드는 방법파일 다운로드1
13294정성태3/22/20234211.NET Framework: 2105. LargeAddressAware 옵션이 적용된 닷넷 32비트 프로세스의 가용 메모리 - 두 번째
13293정성태3/22/20234252오류 유형: 853. dumpbin - warning LNK4048: Invalid format file; ignored
13292정성태3/21/20234387Windows: 232. C/C++ - 일반 창에도 사용 가능한 IsDialogMessage파일 다운로드1
13291정성태3/20/20234803.NET Framework: 2104. C# Windows Forms - WndProc 재정의와 IMessageFilter 사용 시의 차이점
13290정성태3/19/20234301.NET Framework: 2103. C# - 윈도우에서 기본 제공하는 FindText 대화창 사용법파일 다운로드1
13289정성태3/18/20233485Windows: 231. Win32 - 대화창 템플릿의 2진 리소스를 읽어들여 자식 윈도우를 생성하는 방법파일 다운로드1
13288정성태3/17/20233602Windows: 230. Win32 - 대화창의 DLU 단위를 pixel로 변경하는 방법파일 다운로드1
13287정성태3/16/20233766Windows: 229. Win32 - 대화창 템플릿의 2진 리소스를 읽어들여 윈도우를 직접 띄우는 방법파일 다운로드1
13286정성태3/15/20234208Windows: 228. Win32 - 리소스에 포함된 대화창 Template의 2진 코드 해석 방법
13285정성태3/14/20233799Windows: 227. Win32 C/C++ - Dialog Procedure를 재정의하는 방법파일 다운로드1
13284정성태3/13/20234018Windows: 226. Win32 C/C++ - Dialog에서 값을 반환하는 방법파일 다운로드1
13283정성태3/12/20233556오류 유형: 852. 파이썬 - TypeError: coercing to Unicode: need string or buffer, NoneType found
13282정성태3/12/20233895Linux: 58. WSL - nohup 옵션이 필요한 경우
13281정성태3/12/20233811Windows: 225. 윈도우 바탕화면의 아이콘들이 넓게 퍼지는 경우 [2]
13280정성태3/9/20234575개발 환경 구성: 670. WSL 2에서 호스팅 중인 TCP 서버를 외부에서 접근하는 방법
13279정성태3/9/20234089오류 유형: 851. 파이썬 ModuleNotFoundError: No module named '_cffi_backend'
13278정성태3/8/20234111개발 환경 구성: 669. WSL 2의 (init이 아닌) systemd 지원 [1]
1  2  3  4  5  6  7  8  9  10  11  12  [13]  14  15  ...