Google .NET Library无法在发布模式下使用

时间:2016-07-26 06:53:11

标签: google-api-dotnet-client

每个人:    我遇到了一个问题,我使用Google库登录并将视频上传到Youtube,    我在Debug模式下开发,App可以打开Auth登录页面:

CancellationTokenSource cancelSource = new CancellationTokenSource(60000);
            CancellationToken token = cancelSource.Token;
            credential = await GoogleWebAuthorizationBroker.AuthorizeAsync(uri,
                    new[] { YouTubeService.Scope.Youtube },
                    "user",
                    token);

但当我改为发布模式时,代码异常,如打击:

nSystem.AggregateException:AggregateException_ctor_DefaultMessage ---> System.Reflection.MissingMetadataException:Reflection_InsufficientMetadata_NoHelpAvailable:EETypeRva:0x00018688。有关更多信息

有人知道原因吗?我在google上发现有人说是因为.net Native Complie问题,对吗?

0 个答案:

没有答案
相关问题