共享目标应用示例无法正常工作 [英] Sharing Target app sample not working properly
问题描述
http://code.msdn.microsoft .com / windowsapps / Sharing-Content-Target-App-e2689782
当我运行共享内容 目标示例应用程序(C#版本)时,会抛出异常行99. MainPage.xaml.cs:System.Runtime.WindowsRuntime.dll中发生类型'System.Runtime.InteropServices.COMException'的异常,但未处理用户代码中的
WinRT信息:调用请求处理错误。附加信息:无效的窗口句柄。该行执行此操作:Window.Current.Content = this;
是否有解决方法或修复此问题?
我在问答的Q& A标签中问了同样的问题。描述样本的页面,但到目前为止我没有看到任何回复。 Microsoft是否监控样本的Q& A选项卡?
您用以重现此步骤的步骤是什么?
通过以下步骤,我的工作正常:
- Build&从Visual Studio Express运行示例
- 调出IE10
- 选择共享魅力
- 选择共享目标示例应用程序
- 共享目标示例应用程序在示例应用程序中显示有关共享数据的数据
- 推送报告已完成。
如果清除现有软件包并重建和部署样本,是否可以重现问题?
- Rob
http://code.msdn.microsoft.com/windowsapps/Sharing-Content-Target-App-e2689782
When I run the sharing content target sample app (C# version), an exception is thrown at line 99 of MainPage.xaml.cs: An exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Runtime.WindowsRuntime.dll but was not handled in user code WinRT information: Invoke request processing error. Additional information: Invalid window handle. The line does this: Window.Current.Content = this;
Is there a workaround or fix for this?
I asked the same question in the Q&A tab of the page that describes the sample, but so far I've seen no response. Does Microsoft monitor the Q&A tabs of the samples?
What are the steps you used to reproduce this?
It is working fine for me with the following steps:
- Build & run sample from Visual Studio Express
- Bring up IE10
- Select Sharing charm
- Select the Share Target Sample App
- The Share Target Sample App displays data about the shared data
- Push Report Completed in the sample app.
Can you reproduce the problem if you clear out the existing package and rebuild and deploy the sample?
--Rob
这篇关于共享目标应用示例无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!