This build error started after I switched where my workspace was locally mapped. I have spent a couple of days stuck on this issue hoping someone can provide some help. Here is the full error:
Assembly 'Infragistics2.Win.UltraWinGrid.ExcelExport.v7.3, Version=7.3.20073.1061, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' uses 'Infragistics2.Excel.v7.3, Version=7.3.20073.1061, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' which has a higher version than referenced assembly 'Infragistics2.Excel.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' c:\Program Files\Infragistics\NetAdvantage for .NET 2007 Vol. 3 CLR 2.0\Windows Forms\Bin\Infragistics2.Win.UltraWinGrid.ExcelExport.v7.3.dll
My assembly reference in the project correctly points to version 7.3.20073.38 yet I continue to get this error.
When I look in the GAC I do see two versions (7.3.20073.1061 & 7.3.20073.38) however if I try to uninstall the old version (1061) I get an error saying it could not be uninstalled because it is required by other applications.
Any suggestions?
This definitely seem to indicate a reference problem within your solution.
Make sure all of the project references (for any and all projects) in your solution are all referencing the same version of the Infragistics assemblies.
Also, make sure none of them have CopyLocal set to true.
You might also want to check the licx files in your project and if there is anything in there that references the Infragistics assemblies, delete it.
Finally, you might want to set SpecificVersion on each of the Infragistics project reference to false.
Thanks for your suggestions, before I try this let me just mention that this project was running before I moved my local workspace.
Our team also includes about 4 other members and none of them are having this issue. It seems to be specific only to my machine. Before I make any changes to the code (that could have a negative impact on our solution and the entire team) I would like to know if there might be any suggestions specific to my build environment that could be the root of this issue.