由于处理器架构的不匹配而无法构建 [英] Failure to build due to mimatch of processor architecture

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

问题描述

我有2个Xamarin表单应用程序,它们都在构建和运行良好。我没有更改它们,但是在一夜之间安装了Windows 10更新,现在两个应用程序的PCL项目的构建都失败并出现错误

I have 2 Xamarin forms applications which were both building and running fine. I have not changed them but a Windows 10 update was installed overnight and now the build of the PCL project for both applications are failing with the error

正在构建的项目的处理器架构与"MSIL"之间存在不匹配。以及参考文献"C:\ Windows \ Macrooft.NET\Framework\v4.0.30319\\mscorlib.dll","x86"的处理器体系结构。这种不匹配可能是
导致运行时故障。请考虑通过Configuration Manager更改项目的目标处理器体系结构,以便在项目和引用之间调整处理器体系结构,或者使用与项目的目标处理器体系结构相匹配的
处理器体系结构依赖于引用。   

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". 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.   

我对他参与V4.0.30319感到有点困惑,因为这两个项目都针对.Net 4.5框架。

I am a bit confused about he referebce to V4.0.30319 as both projects are targetted on .Net 4.5 framework.

如何解决此问题。

      

      

Pat Moran

Pat Moran

推荐答案

<嗨Pat Moran,

Hi Pat Moran,

欢迎来到MSDN论坛。

Welcome to the MSDN forum.

请参阅您的描述,您的问题是关于Xamarin.Forms应用程序开发。由于我们的论坛是讨论VS IDE,请重定向到这个适当的论坛:
https://forums.xamarin .com / categories / visual-studio 并开始寻找更专业的支持。

Refer to your description, your issue is about the Xamarin.Forms application development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://forums.xamarin.com/categories/visual-studio and start a new thread to seek for a more professional support.

对此造成的不便表示歉心,感谢您的理解。

Sorry for this inconvenience and thank you for your understanding.

祝你好运,

Sara


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

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