0
我想添加一個COM DLL使用Visual Studio .NET 2003 ATL COM項目,當我擊瀏覽並選擇DLL我收到以下錯誤內置不能作爲引用添加COM DLL到VS 2012項目
A reference to 'MyCOM.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
但是,當我使用RegSvr32.exe
進行註冊並使用「參考」窗口中的COM窗格進行瀏覽並添加它時,它可以正常工作。
如何添加dll而不必註冊?