0

下面是我的 ICloudService 公共类 AzureCloudService : ICloudService { MobileServiceClient 客户端;

    public AzureCloudService()
    {
        Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
        client = new MobileServiceClient("https://xxxxxxxxxxxxxx.azurewebsites.net");
    }

    public ICloudTable<T> GetTable<T>() where T : TableData
    {
        return new AzureCloudTable<T>(client);
    }
}

如果我删除 'client = new' 行,应用程序将被加载,否则它会抛出错误。

Vizualization Error
No body on method
Microsoft.WindowsAzure.MobileServices.IApplicationStorage
Microsoft.WindowsAzure.MobileServices.IPlatform::get_ApplicationStorage() (NInterpretException)
4

1 回答 1

0

使用带有 Live Player 的 iPhone 6 时,我也遇到了同样的问题。

如果我将 Visual Studio 连接到我的 Mac 并通过 Visual Studio 中的 iPhone 模拟器运行它,那么它工作正常,所以大概是 Live Player 有问题?

于 2017-12-27T13:34:28.427 回答