重建项目时目标平台错误 [英] Target platform error while Rebuilding the project

查看:56
本文介绍了重建项目时目标平台错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



重建我的项目时,出现以下错误。我将目标平台设置为X64,但为什么会出现此错误?



 错误  1 文件'  IMServer.exe'的项目输出'来自IMServer(主动)'的主要输出'目标'AMD64'与项目的目标平台'x86'不兼容D:\ VSS 2008 \ CBE SSE \ CBE SSE \ CBE Server \CBEServerInstaller \CBEServerInstaller .vdproj CBEServerInstaller  







谢谢

解决方案

您可能在项目中使用了一些专门针对x86的程序集。在这种情况下,您无法将项目的目标平台设置为x64。它必须是x86。请注意,大多数x86应用程序也可以在x64平台上运行(请记住一些应用程序,如Microsoft Ink Analyzers)。因此,在出现此类依赖性问题时,可以将目标程序集设置为x86。


引用:

(记住一些应用程序,如Microsoft Ink Analyzers不要)





记住并非所有人都这样做。 :)


Hi,
While Rebuilding my project, I get following error. I set the target platforms to X64 but why does this error come up?

Error   1   File 'IMServer.exe' of project output 'Primary output from IMServer (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'  D:\VSS 2008\CBE SSE\CBE SSE\CBE Server\CBEServerInstaller\CBEServerInstaller.vdproj CBEServerInstaller




Thanks

解决方案

You might be using some assemblies in your project that are specifically targeted to x86. In that case you can not set the target platform of your project as x64. It must be x86. Note that most x86 applications also runs on x64 platform ( remember some applications like Microsoft Ink Analyzers don''t). So in case of such dependency issues, it is fine to set the target assembly to x86.


Quote:

( remember some applications like Microsoft Ink Analyzers don''t)



Remember not all do. :)


这篇关于重建项目时目标平台错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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