下面是我的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)
我使用带有Live Player的iPhone 6也遇到了同样的问题。
如果我将Visual Studio挂接到我的Mac并通过Visual Studio中的iPhone模拟器运行它然后它可以正常工作,所以可能是,Live Player出了问题?