Ah... Perhaps I was a bit unclear. Are you still trying to do this in
Nant? If so, I meant in VB6!

I also forgot another step:

2a) In your VB projects, you need to (temporarily) set the reference to
the in-IDE project, not the built version of the library.

Having two VB-built components with the same GUID would be a good trick.
The only way I can think of that may allow that to happen is if two
independent projects, both derived from one starting point, share the
same binary compatibility file.

A far more likely problem is that because the component has not
maintained full binary compatibility with the downstream references
(either intentionally, or by overwriting/deleting the compatibility
file, or rebuilding the library more than once without updating the
compatibility file after an interface change), the referenced library
simply cannot be located any more. The simplest method I know of to fix
this is to open the referencing project, remove the reference to the
library (sometimes VB6 will even tell you that it's missing), save the
project and exit VB, then finally load the project back up and add the
reference back in again. (I have found that skipping the shutdown step
occasionally seems to confuse VB, and on several occasions has resulted
in corruption of other Reference= lines.)

I'm also slightly confused by your subsequent message where you say:
there is no TransportX DLL with the GUID in Transport.vbp

I assume you are referring to the GUID part of the "Reference=" line?
Again, this would be consistent with TransportX.DLL being a VB project
that has been rebuilt outside the project group (solution) while not
maintaining binary compatibility. I also assume from your subsequent
message that you have now found the right GUID. Is that true?

All this strangeness just reminds me why I no longer choose to develop
COM components in VB! :-)

Hope you are successful.
Regards,
Richard


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to