Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException

问题描述 投票:0回答:1

下面是我的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)
ios azure ipad azure-mobile-services xamarin-live-player
1个回答
0
投票

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

如果我将Visual Studio挂接到我的Mac并通过Visual Studio中的iPhone模拟器运行它然后它可以正常工作,所以可能是,Live Player出了问题?

© www.soinside.com 2019 - 2024. All rights reserved.