问题描述
在尝试运行测试应用程序时,我两次获得以下错误:
At trying to run a test application i obtain the following error twice:
此不匹配可能导致运行时失败。请考虑通过Configuration Manager更改项目的目标处理器体系结构,以使项目和引用之间的处理器体系结构保持一致,或者依赖具有与项目目标处理器体系结构相匹配的处理器体系结构的引用来进行依赖。 TestMobile.Core
不匹配MSIL x86
This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. TestMobile.Core mismatch MSIL x86
我已安装.NET Framework,以及Windows 8 SDK工具并使用MultilingualAppToolKit
I have .NET Framework installed, as well as windows 8 SDK tools and using MultilingualAppToolKit.
我已经验证了配置管理器,一切似乎都很好。平台目标为任何CPU
I already have verified the configuration manager and everything seems to be fine. Platform target, targeting "Any CPU"
推荐答案
我最终能够构建我的项目而没有这个肮脏的错误。看来我需要从VS2010安装PortableLibraryTools。
I finnally was able to build my project without this filthy error. It seems that i needed to install PortableLibraryTools from VS2010. It worked after that.
参考:
这篇关于处理器架构不匹配,构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!