我已经将一个项目从我的旧 XP 机器复制到我的新 Win7 机器。这是一个针对 .net 2.0 框架的控制台应用程序。它使用一个名为 Active Reports 的报告工具。Active Reports 在项目中引用的 Program Files 目录中有一系列 dll。项目运行时出现错误
Could not load file or assembly 'file:///C:\PROJECTPATH\bin\Debug\ActiveReports.Interop.Dll' or one of its dependencies. The system cannot find the file specified.
这个 dll 不需要放在 bin 中,当我将它复制到那里时,项目甚至都没有构建。
为什么 VS 期望 dll 在 bin 中?