I'm 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, plus on check-in).
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?)
followed by our own objects which have not been created due to other errors.
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 built on 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 TeamCity doing differently to TFS/TB that is causing these errors?
Any pointers would be very helpful. Cheers