%EC%97%90%EC%84%9C%20Powershell%EC%9D%84%20%ED%86%B5%ED%95%B4%20System.Windows.Forms%EC%97%90%20%EC%95%A1%EC%84%B8%EC%8A%A4%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95.png)
Powershell을 사용하여(Virtual Box를 통해) Ubuntu에서 GUI를 개발 중이지만 System.Windows.Forms를 사용할 수 없습니다.
- Mono-devel을 설치했는데,
- 나는 검색했다적절한 파일 검색 System.Windows.Forms.dll12개의 서로 다른 버전을 검색하고,
- DLL 버전 4.8을 스크립트 디렉토리에 복사했습니다.
- 나는 명령을 실행한다유형-AssemblyName System.Windows.Forms 추가
- 버전 4.8은 다음과 같이 말합니다.
Add-Type: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Reference assemblies cannot be loaded for execution. (0x80131058)
- 이전 기사에서는 다음과 같이 설명했습니다.
Add-Type could not load file or assembly ‘<Unknown>’ Index not found. (0x80131124)
감사해요