C++ – Why Build Fails with CruiseControl.NET but it builds fine manually with same settings

ccruisecontrol.netdll

I have a project that builds fine If I build it manually but it fails with CC.NET.

The error that shows up on CC.NET is basically related to an import that's failing because file was not found; one of the projects (C++ dll) tries to import a dll built by another project. Dll should be in the right place since there's a dependency between the projects – indeeed when I build manually everything works fine (Note that when I say manually I am getting everything fresh from source code repository then invoking a Rebuild from VS2005 to simulate CC.NET automation).

looks like dependencies are ignored when the build is automated through CC.NET.

I am building in Release MinDependency mode.

Any help would be highly appreciated!

Best Answer

Can you change CC to use msbuild instead of devenv? That seems like the optimal solution to me, as it means the build is the same in both situations.