处理器架构不匹配,构建错误 [英] Processor architecture mismatch building error

查看:193
本文介绍了处理器架构不匹配,构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试运行测试应用程序时,我两次获得以下错误:

At trying to run a test application i obtain the following error twice:


该项目的处理器体系结构之间不匹配正在构建 MSIL和引用为 C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll, x86的处理器体系结构。

There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86".

此不匹配可能导致运行时失败。请考虑通过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.

参考: http://forums.xamarin.com/discussion/25538/xamarin-xaml-example-problem-using-pcl

这篇关于处理器架构不匹配,构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆