I am getting several errors from the Visual Studio designer when attempting to open user controls containing UltraGrids. Some of the errors listed are...
The type 'Infragistics.Win.UltraWinGrid.UltraCombo'has no property named 'CharacterCasing'
Object of type 'Infragistics.Win.Apperance' cannot be converted to type 'Infragistics.Win.AppearanceBase'
The type Infragistics.Win>ultraWinGrid.UltraGridOverride' has no property named 'HeaderStyle'
These errors are all contained in the .Designer.cs files for the controls, and prevent me from using the VS designer for these controls.
I have previously seen these errors and was able to get rid of them by re-building the project and/or closing and re-opening the solution in VS. Unfortunately these errors are now persistent.
Does anyone know how to fix this?
I am using NetAdvantage 2009 v9.1
The licx file contained a reference to an earlier version. Removing this reference fixed the problem.
Thank you.
Those errors almost certainly indicate that your applicaiton has multiple copies of the same assemblies (of different versions) loaded at design-time. Check out project references carefully for all of the projects in the solution and make sure all the Infragistics assembly versions are the same and that none of them have CopyLocal set to true.
You might also check the licx files in your solution to make sure none of them are references other versions.
I spoke too soon. Deleting obj and bin dirs did not fix the problem.
That fixed it. I will also check for the "LocalCopy" setting.
Thank You
It sounds to me like your project references are mixed - you have multiple versions of the assemblies referenced by your application. Or, perhaps some of your Infragistics assembly references have CopyLocal set to true.