【发布时间】:2012-03-24 12:17:32
【问题描述】:
有人知道如何像在 Visual Studio 2008 中一样在 Visual Studio 2010 中添加对“C:\Windows\SysWOW64\mqoa30.tlb”的引用吗?
如果我去添加参考,并浏览到这个文件:“C:\Windows\SysWOW64\mqoa30.tlb”这些是不同的结果:
Visual Studio 2008
添加就好了
并创建互操作的东西
Visual Studio 2010
搜索引擎优化的明文错误信息:
Could not add a reference to C:\Windows\SysWOW64\mqoa30.tlb
Could not load file or assembly 'mqoa30.tlb' or one of its dependencies. The module was expected to contain an assembly manifest.
This file may not be a managed assembly.
无法从“添加引用”对话框添加,并且“Microsoft 消息队列 3.0 类型库”未在 COM 类型库中列出。
(注意:我已安装 MSMQ 并且工作正常(通过 NServiceBus)。我运行的是 Windows 7。)
如果您知道如何添加参考,可以告诉我吗?
【问题讨论】: