msbuild – VS2013 – MSB3270:处理器架构之间不匹配 – Fakes Framework

msbuild – VS2013 – MSB3270:处理器架构之间不匹配 – Fakes Framework,第1张

概述与 this thread一样,我在使用Visual Studio Fakes框架的云项目中构建测试程序集时看到了构建警告. There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference 与 this thread一样,我在使用Visual Studio Fakes框架的云项目中构建测试程序集时看到了构建警告.

There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference “msshrtmi”,“AMD64”. 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. [D:\SSO\Shared\obj\Main\ServicesShared.Tests\Fakes\msss\f.csproj]

唯一的区别是我在升级到VS 2013之后才开始看到这个问题.根据@L_419_1@,它应该是固定的.我尝试应用VS 2012解决方法,但这似乎没有任何影响.

有没有其他人在VS 2013中遇到此问题和/或您是如何解决这个问题的?谢谢.

解决方法 尝试在.fakes xml文件中添加以下内容(位于项目树中的Fakes文件夹下)

<Compilation>    <Property name="PlatformTarget">x64</Property></Compilation>
总结

以上是内存溢出为你收集整理的msbuild – VS2013 – MSB3270:处理器架构之间不匹配 – Fakes Framework全部内容,希望文章能够帮你解决msbuild – VS2013 – MSB3270:处理器架构之间不匹配 – Fakes Framework所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1227091.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-05
下一篇 2022-06-05

发表评论

登录后才能评论

评论列表(0条)

保存