我正在我的 WP8.1 应用程序上按原样在 Win 10 技术预览版上测试我的应用程序内购买(在设备和模拟器上尝试,结果相同),并在尝试获取许可证信息时遇到以下错误。
例外:
System.Exception:来自 HRESULT 的异常:Windows.ApplicationModel.Store.CurrentApp.get_LicenseInformation() at App.OnLaunched(LaunchActivatedEventArgs e) 的 0xC03F7000
代码:
Dim oLicense As LicenseInformation
oLicense = CurrentApp.LicenseInformation
这在 WP8.1 上运行良好。当我尝试CurrentAppSimulator .LicenseInformation时,我得到一个不同的错误。
System.IO.DirectoryNotFoundException:系统找不到指定的路径。(来自 HRESULT 的异常:0x80070003)在 Windows.ApplicationModel.Store.CurrentAppSimulator.get_LicenseInformation()
任何帮助/指针表示赞赏。