我刚刚从一个库中生成了一个 32 位 dll,并试图在 C#(调试 - x86)中将它与我的基于 Windows 的表单应用程序一起使用。我添加了 dll 文件作为参考,现在当我运行代码时出现以下错误
System.IO.FileNotFoundException was unhandled
Message=Could not load file or assembly 'org.apache.qpid.messaging.dll' or one of its dependencies. The specified module could not be found.
Source=QpidRx_CSharp
FileName=org.apache.qpid.messaging.dll
FusionLog=""
StackTrace:
at QpidRx_CSharp.Program.Main()
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
关于如何解决此问题的任何建议?