I upgraded a project from 10.3 to 11.1 using the version utility, in my references I don't have any visible 10.3 references and all the .licx files contain references to 11.1 (I went back and deleted the contents of all 11.1); however, I get this error after deploying my application to the end user:
Could not load file or assembly 'Infragistics2.Win.UltraWinGrid.v10.3, Version=10.3.20103.2094, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
When I run the compiled version on my end, when I go to our About Box I can see that the code is still referencing the 10.3 version; even though, I upgraded the solution (and projects) to the latest release of 11.1.x.x and there are no direct references to 10.3
Hello Pete,
This sounds strange to me. Could you please open your project's bin folder and verify if there are any Infragistics assemblies from the previous version that have been used in your project? If all of the references are from NetAdvantage 11.1 version and the licenses.licx content is empty than you shouldn't get such messages.
What you could try prior runing your application is "Clearing" the solution and "Rebuilding it".
If the behavior still persist or you have any other questions I will be glad to assist you further with them.
1) bin folder and verify if there are any Infragistics assemblies from the previous version that have been used in your project? - All the assemblies are referenced from the GAC, there are no Infragistics assemblies in the bin folder.
2) "Clearing" the solution and "Rebuilding it". - does not solve the issue.
This occurs when we load a specific form; but, looking at the project file and the form's designer there is no reference to the 10.3 assembly.
Thank you for the provided files.
I have look through them and it seems to me that the AppLibrary file has multiple references which are not correct. I have not been able to figure out only from the provided files what could be the reason for appearing of such message for 10.3. Opening the AppLibrary file and going from Line 68 to Line 123 the assemblies pointed are for 11.1.20111.2020 and from Line 131 to Line 149 Infragistics assemblies are pointing to 11.1.20111.2042. This are two different builds and couldn't be used in a very same project. The second part of the references are not having particular <HintPath/> so could you please verify whether these files are in the GAC or they are local only for the project? In both cases you would have to be sure that the application uses only single version of our components and all of the used references pointing to the same build of our controls.
If that does not help in your case I would like you to verify if any of the dependent files/projects are not pointing to the any of the Infragistics 10.3 controls. I have looked through the whole file but I've might missed something since it contains about 3 thousand lines in it. Another thing that you could verify is the content of the licences.licx file and verify if there are any old pointers to the Infragistics 10.3 assemblies left. If so, could you please remove them and clean and rebuild your application again.
Please let me know if you have any other questions.
Even though the version says ...2020 and the hint path being: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.1\Windows Forms\Bin\<filename> The file's version is .2042 in the path and not .2020 (I don't see that being the issue).
I have searches for anything 10.3 and was unable to find it; but, I will review again.
The licenses.licx file is empty.
Have you tried changing the path to the correct version? Also if you are having separate users controls, and they are using our assemblies, have you tried to rebuild them first with the newer version?
If you have any other questions through the process please feel free to let me know.
Upgraded to 11.2 ... ran into this issue (something is awry somewhere), will keep you posted.
Exception:
[A]Infragistics.Win.UltraWinGrid.UltraGridDisplayLayout cannot be cast to [B]Infragistics.Win.UltraWinGrid.UltraGridDisplayLayout. Type A originates from 'Infragistics2.Win.UltraWinGrid.v11.2, Version=11.2.20112.1010, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' in the context 'Default' at location 'C:\Windows\assembly\GAC_MSIL\Infragistics2.Win.UltraWinGrid.v11.2\11.2.20112.1010__7dd5c3163f2cd0cb\Infragistics2.Win.UltraWinGrid.v11.2.dll'. Type B originates from 'Infragistics2.Win.UltraWinGrid.v11.2, Version=11.2.20112.2004, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' in the context 'Default' at location 'C:\Windows\assembly\GAC_MSIL\Infragistics2.Win.UltraWinGrid.v11.2\11.2.20112.2004__7dd5c3163f2cd0cb\Infragistics2.Win.UltraWinGrid.v11.2.dll'.
I ran into this same issue after upgrading from v13.2 to v16.2
The issue was some stored layouts in the .resx file that referenced the previous version. Removed them and it fixed this issue.
Is this something the update utility can handle?