Hi,
I have run an application with Infragistics 11.2 on a pc, and later revert the application to referring to Infragistics 10.2. I got the following error when the application tried to load the wingrid layout
"Could not load file or assembly 'Infragistics.Win.UltraWinGrid, Version=11.2.20112.2004, Culture=neutral, ...' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference."
The application refers to Infragistics dll on its application directory and not GAC. The layout was saved as compatible to NetAdvantage 11.2, and when application with NetAdvantage 10.2 tried to load the layout it got an error. Shouldn't it backward compatible?
Hello Hertel,
I believe that here the reason for the error is different.
What you could do to verify this is opening the "References" folder of your application, locating the "licenses.licx" file and remove the Infragistics content from there. (It should be trying still to reference the 11.2 assemblies, and that's why you are experiencing this issue).
If that is not the case please feel free to let me know.
hi, I have checked the licenses.licx file, it is referencing 10.2 assemblies.
This might be happening if you do not have this version installed into GAC they might appear in the Component Tray since there are design assemblies that are needed to have a designer working correctly, and your VS expects that those assemblies are in the GAC.
You could verify if the Win.Design assembly is in the GAC for the version that you are using.
Please let me know if this is the case.
hi again,
Yes the Win.Design assembly is in the GAC for both 10.2 and 11.2.
Could you please let me know from where you are refering the controls that you are using in your application? From a specific folder or directly from the GAC?
If you are refering them from a specific folder, how is the Copy Local property being set?
Please feel free to let me know if you have any other questions.
hi, I am referring to the assemblies in a specific folder, and Copy Local is set to true.
I got another error today. I have an application referencing NetAdvantage 10.1, and after being upgraded to 11.2, it was not able to load the ultrawingrid layout.
Unable to find assembly "Infragistics.Win.UltraWinGrid, Version=10.1..."
Application refers to Infragistics Version Free Assemblies in specifi folder, copy local set to true.
It seems to me that in this case there is still old assmeblies in the Bin folder of the application. Please remove the bin and obj folders from your application if there isn't any sensible information, and rebuild the application one more time. Also please take a look at the licenses.licx file for any old referencing information remain there, and clear the content out.
If you still have any other questions please feel free to ask.
If the UltraGrid designer doesn't appear on the Form, this most probably means that the Visual Studio is not able to locate the Win.Design assembly from the GAC of the machine that you are using 11.2 version of the assemblies.
Could you please verify if the Design assemblies are installed correcty in the GAC?
hi
There is no old assemblies in the bin and obj folders, licenses.licx is cleared. And i have cleaned n rebuilt several times.
The application referring to 11.2 just can't load UltraWinGrid layouts from 10.1 or 10.2. We are stuck and we need a fix as soon as possible.