【发布时间】:2023-01-25 21:00:54
【问题描述】:
我正在使用 Visual Studio 2015 和 .net451 并尝试连接到 IBM Db2 数据库,但是当我调试我的代码时出现此错误:
FileNotFoundException
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll
Additional information: Could not possible to load file or assembly 'IBM.Data.DB2, Version=11.5.5.4, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of yours dependencies. The system can't find the file.
我能做些什么来解决这个问题?
我已经安装了 NuPackage IBM.Data.DB2 并且已经将 Copy local 设置为 false 和 true。
【问题讨论】:
-
请阐明您的具体问题或提供更多详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。