在Xbox One上的UWP应用程序上找不到模块(GetWinRTFactoryObject)

时间:2017-06-22 15:13:37

标签: c# c++ dll uwp xbox-one

我创建了一个适用于Windows 10桌面(x86和x64)和Windows 10移动版(ARM)的UWP应用程序。

但是当我在Xbox One上部署它时,我遇到了一个问题。

app解决方案有2个项目:使用C#的主项目和使用c ++构建的dll。

应用程序在xbox上启动良好,但是当我使用dll启动一项功能时,我收到一条消息:

System.IO.FileNotFoundException 

详情如下:

{"Le module spécifié est introuvable. (Exception from HRESULT: 0x8007007E)":null}
   at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
   at ProjectDll.StreamConfiguration..ctor(Int32 width, Int32 height)
   at StreamContext.CreateStreamContext(Computer c, Int32 appid)

找不到dll文件但是当我通过浏览器浏览xbox上的目录时,dll和winmd文件就在这里。

我认为缺乏依赖性,但我不知道如何找到哪一种。

您能帮我确定问题所在吗?

0 个答案:

没有答案
相关问题