编译错误 [英] Error on compilation

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

问题描述

应用程序在VisualStudio-2008中开发,但现在在Visual Studio-2010中打开.
操作系统:Windows7,32位

编译错误

具有相同简单名称''Interop.SQLDMO,Version = 8.5.0.0,Culture = neutral,PublicKeyToken = null的程序集已经导入.尝试删除其中一个引用或对其进行签名以启用并排.

Application was developed in VisualStudio-2008 bu now opened in Visual studio-2010.
Operating system: Windows7, 32-bit

Error on compilation

An assembly with the same simple name ''Interop.SQLDMO, Version=8.5.0.0, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side.

推荐答案

因此,当您将应用程序从x64更改为x32时(如我在您以前的问题)将其贯穿整个过程...以后尝试通过使用评论或回复工具将其保留在同一问题中-这样,它就不会留下问题的结尾"来使人们感到困惑. .


从您的系统中删除引用,尝试构建(它将失败),然后再次投放引用广告.
So, when you changed your app from x64 to x32 (as I suggested in your previous question) it through this up... In future try to keep it in the same question by using the comment or reply facilities - that way it doesn''t leave "trailing ends" of a question around to confuse people...


Remove the reference from your system, try a build (it will fail) and the ad the reference back in again.


这篇关于编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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