More strange behaviour from NANT today. A new project was started so I made the build script for the new projects that were to be included in the build. When trying to build, it would keep failing, telling me that it couldn't find a few of the references.
The really strange thing was, was that the references were in the correct place on the build server and were obviously there. (I found myself actually talking to the build server at one point, shouting "Can't you see that they are there!"
With verbose on, I could see that the build server was getting itself into a bit of a pickle and that it was looking for the missing assembly references in the administrator's Documents & Settings\Local etc... This was very odd, as other projects that were using the same assmblies and configured the same way were building fine.
The solution
In the end, the way to fix this was just as odd. I had to copy the so-called missing assemblies into the place that the build server thought they were. Once this was done, it would of course build ok. The really curious thing is that after it had built once correctly on the build server, I deleted the files (leaving the real ones stil in place) and all worked fine on concecutive builds.
Cheers
Rich