Azure IoT Hub에 디바이스를 등록하고 데이터를 보내는 클라이언트 프로그램을 작성할 때, Nuget 패키지인 Microsoft.Azure.Devices.Client가 필요합니다.
현재 이 패키지의 안정 버전은 1.25.0 이지만, 시험판은 1.29.0-preview 004까지 진행되었습니다.
Nuget 패키지 관리자를 사용해 Visual Studio 솔루션에 Microsoft.Azure.Devices.Client를 설치할때 문제가 발생한다면, 다음의 순서로 패키지를 설치하기 바랍니다.
1. System.Runtime.InteropServices.4.3.0 패키지 설치
2. DotNetty.Codecs 패키지 설치
3. Microsoft.Azure.Devices.Client 패키지 설치
모두 잘 설치된 경우 [솔루션 탐색기]에서 프로젝트 [참조]를 확인하면 다음 그림과 같습니다.
'Programming > Visual Studio' 카테고리의 다른 글
Visual Studio Code 터미널의 한글 출력 문제 해결하기 (0) | 2022.02.06 |
---|---|
Solving Azure subscription problem in Azure Extension of Visual Studio Code (0) | 2021.07.04 |
DEP0700 : Registration of the app failed (0) | 2020.09.17 |
How to create coverage file and convert to xml in command line (1) | 2019.01.29 |
How to create TRX file and convert to HTML (0) | 2019.01.28 |