Builds work on build machine through TFS but not TeamCity

Hi, I'm brand new to TeamCity, so please be gentle :)

I've set up teamcity on the build server.
.net builds work when initiated through Visual Studio Team Builds, but not when started through Teamcity (via clicking on the run button in administration).

The builds are failing with *loads* of similar reference errors, such as..
User Controls\ucCalendar.cs

(19, 11): error CS0246: The type or namespace name 'AxMSACAL' could not be found (are you missing a using directive or an assembly reference?)
DAL\OrderItemCollection.cs

(31, 16): error CS0246: The type or namespace name 'OrderItem' could not be found (are you missing a using directive or an assembly reference?)

I understand what these errors mean, but I obviously am missing something fundamental, as I do not understand why it is working when builton the build machine via TFS/Team Build but failing on teamcity when..
- both are using the same physical build machine
- both are using the same source : from TFS
- both are using MSBuild to build the solution
- source includes an external references directory for dll's etc


What is TC doing differently to TFS/TB that is causing these errors?

Any pointers would be very helpful.
Cheers :)

Please sign in to leave a comment.