Google Drive
에 API로 연결하려고합니다. Google은 필요한 DLL
과 at this link here ("최신 버전의 라이브러리 다운로드")을 제공한다고 명시합니다. 그러나 필요한 참조를 추가하려고 시도하면 C#
은 DLL
을 찾을 수 없으며 수동 검색을 수행하면 결과가 0이됩니다. 참조 링크에서 :C# Google 드라이브 API 참조
ZIP 파일에는 코어 라이브러리와 드라이브 관련 DLL이 들어 있습니다. 솔루션에서 이러한 DLL을 참조하는 방법은 다음 섹션에서 설명합니다.
다음 네임 스페이스를 참조해야합니다 : 구글 링크를 둘러보고에서
using DotNetOpenAuth.OAuth2;
using Google.Apis.Authentication.OAuth2;
using Google.Apis.Authentication.OAuth2.DotNetOpenAuth;
using Google.Apis.Drive.v2;
using Google.Apis.Drive.v2.Data;
using Google.Apis.Util;
using Google.Apis.Services;
을, 위에서 참조 필요한 DLL
의 아무것도를 찾을 수 없습니다.
참고 :이 테스트 데스크톱 콘솔 앱이며 웹 응용 프로그램이 아닙니다.
편집 : 나는 추가해야 나는 기존 항목으로 아래의 파일을 추가 할 경우, 여전히 어셈블리의 대부분을 찾을 수 없습니다 : 당신은 API를 다운로드 할 수 있습니다
Google.Apis.Drive.v2.1.5.0.95-beta.nuspec
Google.Apis.Drive.v2.cs
Google.Apis.Drive.v2.csproj
packages.config
using DotNetOpenAuth.OAuth2;
using Google.Apis.Authentication.OAuth2;
using Google.Apis.Authentication.OAuth2.DotNetOpenAuth;
using Google.Apis.Util;
using Google.Apis.Services;
음, 다운로드 파일은 멀리 소스를 포함 내가 볼 수있는 ... 당신은 다시 컴파일해야합니다. –