为COM部署.net库

时间:2011-08-03 19:05:24

标签: .net com

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

1 个答案:

答案 0 :(得分:0)

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

相关问题