开发者

Deploying .net library for COM

开发者 https://www.devze.com 2023-03-25 12:24 出处:网络
I\'ve built a class library and registered it for com access using visual studio build options. This library will be accessed by excel VBA开发者_开发技巧. How do I create an MSI to instal this on anot

I've built a class library and registered it for com access using visual studio build options. This library will be accessed by excel VBA开发者_开发技巧. How do I create an MSI to instal this on another computer that will be using the same excel file?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消