This is a very quick guide on how to deploy a COM exposed .NET dll using VS 2008.
For details please visit
Build and Deploy a .NET COM assembly
Guidelines for COM interoperability from .NET: Heath Stewart Blog
Exposing .NET Framework Compoents to COM
1) Add to the Solution a Setup Up project:
Right-click Colution -- Add -- New Project
Other Project Types -- Setup and Deployment -- Setup Project
Name it
2) In Fyle System on Target machine go to Application Folder
3) Add Assembly...
4) Navitate to the MyLibrary.dll COM expose assembly that you want to deploy
5) Click Ok. The .tlb file associate to the .dll will be imported too. The Detected Dependencied folder will show you also the Microsoft .Net Framework and the .tlb file
6) Click MyLibary.dll and in the Property Window select
Register = vsdraCOM
7) Click MyLibray.tlb and in the Property Window select
Register = vsdrfCOM
Build the solution.
If you have a problem with the MS VS Regestry Capture utility see here
You will find in the Setup Folder a setup.exe and msi package ready to be deployed.
Showing posts with label deployment. Show all posts
Showing posts with label deployment. Show all posts
Friday, September 10, 2010
Microsoft Visual Studio Registy Capture Utility has stop working Error
If you have this error while you are trying to use VS 2008 Project Setup and Development, do the following:
- Locate regcap.exe here: C:\Program Files(x86)\Microsoft Visual Studio 9.0\Common7\Tools\Deployment
- Right click and select properties.
- Select Compatibility tab
- Check box to Run this program in compatibility mode.
- Select Windows Vista SP2 in the OS drop-down and Run as Administrator.
- Click Ok and Recompile.
Subscribe to:
Posts (Atom)