编译警告,我该如何消除它们? [英] Compile warnings and how do i get rid of them?

查看:74
本文介绍了编译警告,我该如何消除它们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

这可能是愚蠢的问题,也可能不是愚蠢的问题,但是我正在清理我已经写了几个星期的程序上的代码,尽管这不是一个错误,但我在VS2010中的2个文件中收到了警告消息


Hello,

this may or may not be a stupid question but i was cleaning up my code on a program i wrote for several week''s now and although it''s not an error i get a warning message in VS2010 on 2 files


Warning	2	Referenced assembly 'obj\Debug\Interop.Shell32.dll' targets a different processor than the application.
Warning	1	Referenced assembly 'obj\Debug\Interop.MSHTML.dll' targets a different processor than the application.



知道如何解决此问题吗?
该构建的目标是任何CPU"



Any idea how to fix this?
The build is targeting "Any CPU"

推荐答案



请尝试以下链接.
希望对您有帮助.

http://stackoverflow.com/Questions/3244464/how-to-to-solve-warning-referenced-assembly-targets-a-different-processor-than-the [
Hi,

Try with the below link.
Hope this will help you.

http://stackoverflow.com/questions/3244464/how-to-solve-warning-referenced-assembly-targets-a-different-processor-than-the[^]


请参阅以下内容:
http://social.msdn.microsoft.com /forums/zh-CN/xnaframework/thread/03c9456a-7b0d-4f91-b276-913b0de40a89/ [ http://social.msdn.microsoft.com/论坛/en-US/sqlsmoanddmo/thread/ef3fdc51-6f29-4361-b08b-9728e3f11d76 [
See these:
http://social.msdn.microsoft.com/forums/en-US/xnaframework/thread/03c9456a-7b0d-4f91-b276-913b0de40a89/[^]

http://social.msdn.microsoft.com/Forums/en-US/sqlsmoanddmo/thread/ef3fdc51-6f29-4361-b08b-9728e3f11d76[^]


这篇关于编译警告,我该如何消除它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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