I am regularly having problems building on teamcity, I've run into the licence.licx before issue, but fixed that so that is not my problem.
I started out getting this error:
# Helpers\ExcelExportHelper.cs(7, 42): error CS0234: The type or namespace name 'ExcelExporter' does not exist in the namespace 'Infragistics.Windows.DataPresenter' (are you missing an assembly reference?)
# C:\TeamCity\buildAgent\work\b56a5cef41d41d0d\AccountingManager.Presentation\App.xaml(3, 167): error MC2000: Unknown build error, 'Could not find file 'C:\TeamCity
I ended up removing all Infragistics references and re-adding them and now I have this error:
"C:\TeamCity\buildAgent\work\b56a5cef41d41d0d\AccountingManager.Presentation\AccountingManager.Presentation.csproj" (Rebuild target) (5) -> (ResolveAssemblyReferences target) -> c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Infragistics3.Wpf.Editors.v9.2, Version=9.2.20092.2001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Infragistics3.Wpf.Excel.v9.2, Version=9.2.20092.2001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Infragistics3.Wpf.Reporting.v9.2, Version=9.2.20092.2001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Infragistics3.Wpf.DataPresenter.ExcelExporter.v9.2, Version=9.2.20092.2001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Infragistics3.Wpf.v9.2, Version=9.2.20092.2001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Infragistics3.Wpf.DataPresenter.v9.2, Version=9.2.20092.2001, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
So basically now it appears I can't resolve any references.
On this note I have found using Infragistics with a build server to be nothing but trouble. I can only assume this has something to do with the licencing, but please correct me if I am wrong. What I do know is that if using these controls with a build server like TeamCity continues to be a problem I will have to discontinue using them on future projects.
Thanks,
Chris
Sorry, this was a complete oversight on my part. When I removed and re-added the references I added GAC references rather than the ones included in my SCM.