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.
When you are saying "loading a specific form" make me think that something is different in this form: Could you please let me know what is "specific" to this form? May be this form relies on some specific dll or assemblies that tries to refer NetAdvnatage 2010 vol3 for some reason? Is it possible that you have missed to refer an assembly in this specific form?
Could you please provide me wrap up this form in a small sample that I would be able to test at my end and verify why it is trying to access NetAdvantage 2010 vol3 assemblies while it has only references to NetAdvantage 11.1?
I scoured all the components and none of them have a reference (visible or in the project file) to any 10.3 assembly.
Attached are the project files and specific form files. We did create a wrapper around UltraGrid to add some common functionality. I've included those files and project files.
Thanks,Pete
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.