I'm trying to register my Classlib.dll for using COM interop with the regasm.exe tool. In general this is not a problem.
like this: > regasm.exe MyAsm.dll /tlb: MyAsm.tlb
But now I use a .dll reference in my classlib project. The general registration still works but then the dll reference gets lost and the functions are useless.
I'm sure there is a simple solution for this as the automatic registration via VisualStudio Build settings works fine.
So how can I manually adjust my script?
My current approaches are:
- uing the option: regasm /asmpath
- use of the tools: Tlbexp.exe, Tlbimp.exe
My current information sources:
- Regasm.exe (Assembly Registration Tool)
- Registration free COM interop. assembly B reference assembly A?
- Registration-Free COM Interop and Dependent Assemblies
Since the documentaries are unfortunately very limited and I am new to the COM topic it would be great if you could help me.