Once upon a time, a young, naive engineer thought it would be a good idea to separate out some of the functionality for his app into a COM component, written in C#. Visual
I recently ran into this issue, and the simplest workaround I could find follows these steps on the development machine:
MyDll-2.wxs contains a element that you will want to copy and nest inside the element that was generated in MyDll-1.wxs. This will give you a complete element that you can use in the installer project.