Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Build Error: Assembly which has a higher version then referenced assembly
posted

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?

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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.

Children