If you were to include the .tlb file in the install, you would need a way to register that file for COM.
Instead, you can exclude the .tlb file and just regasm the dll; the .tlb will be created and registered on the user's system.
0
votes
You will need both the .DLL and .TLB file. Registering during installation is what I think you should do if you don't put it in the GAC. Run RegAsm with the /codebase command line switch.
Also make sure set the .NET assembly property COMVisible = true.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more