我有一个客户端程序,编写在C#其中解决方案中的一个项目处理机器安装了SQL 2005的情况。Warning:找不到dll
我已经加入了相关的DLL,但我得到的警告:
CA0060 : The indirectly-referenced assembly 'Microsoft.SqlServer.ManagedDTS, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: d:\Any CPU\Bin\Debug\MyProgram.SSIS2005.dll.
据Microsoft.SqlServer.ManagedDTS
性能它的版本是9.0.3042.0,我不明白为什么它要求版本9.0.242.0。 我不知道它是否相关,但Microsoft.SQLServer.DTSRuntimeWrap
的版本是9.0.242.0。
我试过了什么?
- 删除和添加参考
- 手动更改的文件的csproj
- 我想过让所有的DLL与同一版本所需的版本,但没有找到在网络这样一个来源。
任何想法?谢谢,KM
编辑: 另一个细节,
- 我的目标框架是.NET 4.0
- 我已经设置了 'useLegacyV2RuntimeActivationPolicy' 真
+1你尝试过。 – rekire
什么情况? 另请查看http://connect.microsoft。com/VisualStudio/feedback/details/519539/reference-to-microsoft-sqlserver-manageddts-dll-only-works-if-target-framework-set-to-net-4-0 –
运行应用程序的机器已安装SQL2005 – KernelMode