c# - 将 Unity 项目导入 Visual Studio 时出现 "Error: DEP 0700: Registration of the app failed"

标签 c# x86 unity3d visual-studio-2013

我为 Windows 应用商店应用程序设置了一个 Unity 项目。我需要将该项目导入 VS2013 Pro 版本。

到目前为止,我已经将项目导入到VS中,但是它给我一个错误

Error: DEP 0700: Registration of the app failed. Windows cannot install package Sample assets project because the package require architecture ARM, but this windows has x86.

我不确定我的 windows 是否有问题(我有 8.1 版)。导致此错误的原因是什么?我该如何解决?

最佳答案

这是因为(如错误所述)开发机器没有 ARM 架构,而是 x86 架构。默认情况下,Unity 将为两种配置导出一个项目,并且它可能默认为 ARM 设置。

要更改此设置,您必须打开 Configuration Manager .在那里,您会发现 Active Solution Platform 设置为 ARM。从下拉列表中选择适用于您的系统的平台,可能是 x86。

完成后,您通常应该能够运行您的应用程序。

关于c# - 将 Unity 项目导入 Visual Studio 时出现 "Error: DEP 0700: Registration of the app failed",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22584005/

相关文章:

assembly - 按功能分类的 x86 指令引用

assembly - 汇编代码中的 “int 0x2A”是什么意思

c# - 从 wsdl 文件模拟 Web 服务

c# - 扩展方法如何连接

c# - 在保持前导零的同时增加字符串

c++ - 为什么我的 x86 汇编代码会导致段错误?

c# - Unity UDP - 不能同时发送和接收?

c# - 为什么物体永远不动?

c# - 统一 : Audio source gets destroyed after scene reloads

c# - 如何在 IIS 中托管 Windows 服务(如)