开发者

Deploying .net library for COM

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜