2012-03-06 90 views
2

有沒有人知道如何在Visual Studio 2010中添加對Visual C++ 2010中「C:\ Windows \ SysWOW64 \ mqoa30.tlb」的引用2008年?如何在Visual Studio 2010中像在Visual Studio 2008中那樣添加Iterop

如果我去添加引用,瀏覽到這個文件: 「C:\ WINDOWS \ Syswow64資料\ mqoa30.tlb」 這些都是不同的結果:

Visual Studio 2008中

Added Just fine
新增蠻好

Creates Interop

,並創建互操作的東西

Visual Studio 2010中

Does not add

以明文形式的搜索引擎優化的錯誤消息:

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鍵入add庫「已不在COM類型庫中列出。

(注:我已經安裝了MSMQ和(通過NServiceBus)我運行Windows 7工作的罰款。)


如果你知道如何添加引用可以請你告訴我?

回答

6

這就是我在VS2010版本上的樣子,工作正常。不知道你的屏幕截圖可能代表什麼,我想是某種附加組件。

enter image description here

+5

有趣......這是插件微軟的 「生產力電動工具」(http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/)。我假設他們來自微軟,他們安裝起來相當安全。猜猜我錯了。我禁用了微軟的「生產力動力工具」,我能夠很好地添加參考。謝謝您的幫助! – Vaccano 2012-03-07 14:51:49

相關問題