Hi there,
I'm trying to get a library to build successfully under CruiseControl. The machine in question does not have a full copy of Visual Studio installed, so I cannot confirm if the operation would be the same under Visual Studio or not.
The library in question references several COM components. Ideally, those COM components should *not* be registered on the build machine because they were supplied by a third party and have, ummmmm, undesirable side effects when registered (like trying to access all sorts of other third party components that have no place whatsoever on a build machine!).
I thought that it would be possible to use the type library (tlb) files, and reference those instead of the COM component itself. I have confirmed on my local machine that I can build successfully using both Visual Studio 2003 and Nant (Nightly build from April 30th 2006), even when the components have been unregistered, but on the build machine I get the following error:
Could not find type library "type-library-name" ({guid-of-type-library} with version X.Y) referenced by project ProjectName
Any thoughts about what I have done wrong. The solution element from my build file is included here:
<solution configuration="debug" includevsfolders="false" >
<projects>
<include name="ProjectName.csproj" />
<include name="ProjectNameTest/ProjectNameTest.csproj" />
</projects>
<assemblyfolders>
<include name="lib\Debug" />
<include name="Typelibs" if="${directory::exists('Typelibs')}" />
</assemblyfolders>
</solution>
.Net dependencies are correctly present in the Lib\Debug folder, and the COM type libraries referenced are also where they should be (the Typelibs folder), including the one for which the error is being generated.
All suggestions welcomed.
Regards,
Richard
