【问题标题】:Deploying .net library for COM为 COM 部署 .net 库
【发布时间】:2011-08-04 03:14:27
【问题描述】:

我已经构建了一个类库,并使用 Visual Studio 构建选项将其注册为 com 访问。该库将由 excel VBA 访问。如何创建 MSI 以将其安装在将使用相同 excel 文件的另一台计算机上?

【问题讨论】:

    标签: .net com


    【解决方案1】:

    MSI can get the job done. Right-click "File System on Target Machine", Add, GAC. Right-click that added folder, Add, Project Output. That ensures the assembly is gac-ed. It can also register the assembly like Regasm.exe does. Set the Register property of the project output reference to vsdrpCOM.

    Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-07-22
      • 2010-09-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-24
      相关资源
      最近更新 更多