.net 我可以在Windows 10 IoT core上安装Google.api.Auth或Google.Auth.Calendar吗?

.net 我可以在Windows 10 IoT core上安装Google.api.Auth或Google.Auth.Calendar吗?,.net,uwp,google-calendar-api,iot,windows-10-iot-core,.net,Uwp,Google Calendar Api,Iot,Windows 10 Iot Core,我已经基于运行在rasberry pi3上的Windows 10 IoT core编写了一些智能镜像代码。除了谷歌日历代码之外,它还能正常工作。我编写了一个桌面UWP应用程序,成功下载谷歌日历数据。当我尝试将其移植到IoT core UWP项目时,我无法安装Google api nuget软件包。我得到一个错误: 错误NU1202包Google.api.Auth.AspNetCore 1.38.0与uap10.0.10586(UAP,版本=v10.0.10586)/win10 arm aot不兼

我已经基于运行在rasberry pi3上的Windows 10 IoT core编写了一些智能镜像代码。除了谷歌日历代码之外,它还能正常工作。我编写了一个桌面UWP应用程序,成功下载谷歌日历数据。当我尝试将其移植到IoT core UWP项目时,我无法安装Google api nuget软件包。我得到一个错误:

错误NU1202包Google.api.Auth.AspNetCore 1.38.0与uap10.0.10586(UAP,版本=v10.0.10586)/win10 arm aot不兼容。包Google.api.Auth.AspNetCore 1.38.0支持:netstandard2.0(.NETStandard,Version=v2.0)


这是不支持的,还是我可以更改或升级某些内容?

您需要将UWP项目的项目设置中的minversion设置为16299(或更高),以便启用netstandard2.0库

这当然需要您在Raspberry PI上运行OS build 16299或更高版本(我希望您已经这样做了)


好的,这很有帮助:-)我是否安装.net core 2.0以获得对netstandard 2.0.0.0的引用?如果是这样,我应该怎么做才能把它也放到Pi上呢?不需要安装任何东西。只需确保将UWP项目设置中的minversion设置为16299(或更高)。为了清晰起见,我在回答中添加了一个屏幕截图。