0

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

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

该应用程序解决方案有 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 one 上的目录时,dll 和 winmd 文件就在这里。

我认为没有依赖关系,但我不知道如何找到哪一个。

你能帮我找出问题所在吗?

4

0 回答 0