When deploying a software package containing a VB6 executable and a .NET component, is the .TLB file needed?
If not, would it be sufficient to include the .DLL and have it regasm-ed during installation?
When deploying a software package containing a VB6 executable and a .NET component, is the .TLB file needed?
If not, would it be sufficient to include the .DLL and have it regasm-ed during installation?
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.
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.