Quote:
You can do that with Tlbimp's /reference option. |
Well, I would agree with you except that I'm trying to do this
automated across over 50 dlls and I don't know the references each dll
is going to need to have generated at the time. The only thing I
could come up with is having a huge batch file and that's exactly what
I don't want since it would require maintenance whenever a COM dll is
added/deleted/changed, etc.
The utility I've written just scans the directory of com dlls and runs
tlbimp on them to create the corresponding interop dlls. The only
references that these will need have already been created as interop
dlls, so it shouldn't need to recreate the reference dlls. Like I
said, I really just want it to use the Interop.[Namespace].dll naming
convention like it uses through the IDE...but for some reason running
tlbimp directly from command line gives a different naming
convention. (Namespace.dll)