我实现了aws认知标识,并将其同步到我的xamarin.forms项目中。android上一切都很好。我想尝试一下uwp的应用程序。我立刻得到一个例外,如下所示。这是否意味着AWS不支持Pcl实现,但它应该被天真地实现和引用依赖注入?
AWSSDK.Core.dll but was not handled in user code
Additional information: This functionality is not implemented in the
portable version of this assembly.
You should reference the AWSSDK.Core NuGet package from your main
application project in order to reference the platform-specific implementation.我已经为uwp和XF项目安装了以下nuget

发布于 2016-12-07 01:57:57
我立刻得到一个例外,如下所示。
当您添加Nuget包时,nuget会安装不同版本的dll(您可以在C:\Users\<username>\.nuget\packages\AWSSDK.Core\<version>\lib下找到它们)。并且取决于您的项目类型,nuget决定应该为您的项目引用哪个dll。从错误消息中,您当前使用的功能不包括在可移植版本dll中。
这是否意味着AWS不支持Pcl实现,但它应该被天真地实现和引用依赖注入?
是。由于Pcl版本dll不包含此功能,因此需要使用依赖项注入来实现它。
https://stackoverflow.com/questions/41005520
复制相似问题