I've been struggling (not for the first time) to set up continuous integration on a project I've been working on. We use CruiseControl.NET, but that's not really been the problem - the majority of the problems have been to do with csproj + sln files and Visual Studio. After some mucking about I managed to solve them but thought I'd document what must be very common problems.
After getting the ccnet configuration up and running, the first problem I ran into was a compile error:
errorCS0234: The type or namespace name 'Gui' does not exist in the namespace 'NUnit' (are you missing an assembly reference?)
After resolving this another I got the familiar (and familiarly painful) 64 vs 32 bit problem:
System.BadImageFormatException: Could not load file or assembly '....' or one of its dependencies. An attempt was made to load a program with an incorrect format.