Rik Hemsley
2006-04-25 14:25:28 UTC
Hi,
I'm attempting to get NAnt to build a set of VB6 projects. So far, I
have it checking out code from SourceSafe and some of the projects
build successfully.
The problem I have come across is this: Where projects reference other
projects, I don't know how to update a project's reference to point to
a newly-built DLL.
The project Transport relies on the DLL from the project TransportX.
I've managed to alter the path to the referenced DLL, so that it
points to the newly-built version:
Reference=*\G{B45436A5-CF4F-4658-90FE-DF5B438DEC7E}#2.0#0#..\TransportX\TransportX.dll#
but nant complains like this:
[vb6] Building project
'C:\ContinuousIntegration\BuildTemp\Transport\Transport.vbp'.
[vb6] Couldn't find the tlb file for
'b45436a5-cf4f-4658-90fe-df5b438dec7e' ver.2.0.
[vb6] Output file
'C:\ContinuousIntegration\BuildTemp\Output\Transport.dll' does not
exist, recompiling.
I then get a messagebox giving me a compile error in one of the source
files for the Transport project, 'Can't find project or library'. This
is referring to the missing reference to the TransportX DLL.
Any ideas on how I can make this reference resolve?
Thanks,
Rik
I'm attempting to get NAnt to build a set of VB6 projects. So far, I
have it checking out code from SourceSafe and some of the projects
build successfully.
The problem I have come across is this: Where projects reference other
projects, I don't know how to update a project's reference to point to
a newly-built DLL.
The project Transport relies on the DLL from the project TransportX.
I've managed to alter the path to the referenced DLL, so that it
points to the newly-built version:
Reference=*\G{B45436A5-CF4F-4658-90FE-DF5B438DEC7E}#2.0#0#..\TransportX\TransportX.dll#
but nant complains like this:
[vb6] Building project
'C:\ContinuousIntegration\BuildTemp\Transport\Transport.vbp'.
[vb6] Couldn't find the tlb file for
'b45436a5-cf4f-4658-90fe-df5b438dec7e' ver.2.0.
[vb6] Output file
'C:\ContinuousIntegration\BuildTemp\Output\Transport.dll' does not
exist, recompiling.
I then get a messagebox giving me a compile error in one of the source
files for the Transport project, 'Can't find project or library'. This
is referring to the missing reference to the TransportX DLL.
Any ideas on how I can make this reference resolve?
Thanks,
Rik