I have a solution consisting of several projects (it's a Silverlight 3.0 app with some server side and some client side projects). The solution just compiles fine in VS 2008 and it also compiles fine if I trigger the compilation locally from the command line (i.e. with msbuild.exe). But on our CI server (TeamCity) the build fails since the projects in the solution are compiled in the wrong order. Having one project A that references another project B - project A is compiled before project B - which obviously results in a reference not found compiler error.
I have double checked the references... I have rebuilt the solution file from scratch... No help
What am I missing?