google api dotnet client - Windows 10 UWP App: MissingMethod



尝试使用GoogleWebAuthorizationBroker进行身份验证时。AuthorizeAsync在Windows 10 UWP应用程序中(使用NuGet v1.9.1上可用的便携式库),会发生以下异常:

抛出异常:'System. 'mscorlib.ni.dll中的MissingMethodException

附加信息:Method not found: 'System. 'Uri Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl.Build()"。

我在api代码中挖了一下,方法就在那里。有什么帮助吗?

确保

  1. 相同的nuget包被安装在。core &和主要UWP项目。
  2. 不同项目中的nuget包是相同的版本

最新更新