Notice
Recent Posts
Recent Comments
Link
일상생활
visual studio 2022에서 CS0234 오류인 경우 본문
visual studio 2022 C# Net Framework 4.7.2 기반 연동 가이드.
프로젝트 생성
Windows Forms (.Net Framework) 선택

새 프로젝트 생성

첫 시작 화면

KIS-NAGT 설치를 합니다
파일경로: C:\Program Files (x86)\AGT\AxInterop.DllLib.dll
AxInterop.DllLib.dll 를 참조해서 연결 해 줍니다.
X86 빌드 화면

CS0234 'System.Windows' 네임스페이스에 'Forms' 형식 또는 네임스페이스 이름이 없습니다. 어셈블리 참조가 있는지 확인하세요.

System.Windows.Forms.dll 를 참조하는 방법
경로: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Windows.Forms.dll
기존 샘플에서 복사 해 옵니다.
기존소스 코드를 복사 해 오면 아래와 같은 에러가 나옵니다.
반응형
'tech' 카테고리의 다른 글
2024년 6대 과학기술 주력분야 주요뉴스 발표 (0) | 2025.01.27 |
---|---|
Web2App 호출 (0) | 2025.01.22 |
.Net 6.0 에서 NullReferenceException 인 경우 (0) | 2025.01.22 |
Connecting websocket from Flutter (0) | 2025.01.22 |
Connecting Dll from Flutter (0) | 2025.01.22 |