【发布时间】:2018-01-20 17:24:09
【问题描述】:
我正在使用 azure 开发一个 xamarin 表单应用程序,但是当我加载我的初始页面时,它就在线崩溃了:
public static MobileServiceClient MobileService =
new MobileServiceClient(
"https://myapp.azurewebsites.net");
例外:
System.PlatformNotSupportedException "空的 PCL 实现 Microsoft Azure 移动服务已加载。确保您已添加 nuget 包到您的每个平台项目。”
我该如何解决这个问题?
【问题讨论】:
-
您是否将 nuget 包添加到 android、ios 和 uwp 应用程序(如果包含)?
-
@KenTucker 如果这就是你的意思,我在应用程序的所有部分都有 Microsoft.Azure.Mobile.Client。
-
是的。 xamarin 表单应用支持哪些平台?
-
@KenTucker iOS 和 Android
标签: azure xamarin xamarin.forms