如何解决警告"引用程序集的目标不是应用&QUOT不同的处理器; [英] How to solve warning "Referenced assembly targets a different processor than the application"

查看:201
本文介绍了如何解决警告"引用程序集的目标不是应用&QUOT不同的处理器;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经能够建立我的Windows窗体应用程序访问数据库的SQL Server中。应用程序的所有部件都能够从其中一个可以备份/还原数据库部分分开访问服务器。在这一部分,我不能访问服务器上的数据库,并开始相信这是因为这些警告。 ?什么以下事项正是意思,我怎样可以纠正他们。



 
引用程序集
'C:\Program Files\微软SQLServer\90\SDK\Assemblies\Microsoft.SqlServer.Replication.dll'
目标不是应用

引用程序集
不同的处理器C:\\ \\Windows\assembly\GAC_32\Microsoft.SqlServer.BatchParser\9.0.242.0_89845dcd8080cc91\Microsoft.SqlServer.BatchParser.dll'
目标不是应用不同的处理器。


解决方案

这是的使用Visual Studio 的一个bug,它似乎。下面是解释了更精细的螺纹一些步骤,你可以采取的解决这个问题。


I have been able to build my windows form application that access databases in SQL Server. All parts of the application are able to access the server apart from the part where one can back up/restore a database. In this part I can not access the databases on the server and have come to believe it is because of these warnings. What do the followings exactly mean and how can I correct them?

Referenced assembly
  'c:\Program Files\Microsoft SQLServer\90\SDK\Assemblies\Microsoft.SqlServer.Replication.dll' 
  targets a different processor than the application

Referenced assembly
  'C:\Windows\assembly\GAC_32\Microsoft.SqlServer.BatchParser\9.0.242.0_89845dcd8080cc91\Microsoft.SqlServer.BatchParser.dll'
  targets a different processor than the application.

解决方案

This is a bug with Visual Studio, it seems. Here's a more elaborate thread that explains some steps you can take to fix this.

这篇关于如何解决警告"引用程序集的目标不是应用&QUOT不同的处理器;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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