We have a Visual Studio 2005 (VB.net) application that was using the NetAdvantage 2007.2 controls. We recently converted this solution/project to Visual Studio 2010 and upgraded the Infragistics controls to 2011.1 using the Version Utility to do the upgrade.
The interesting thing is we can open the solution and build it and run it with no issues. But if we try and open any of the forms in design view that use any Infragistics controls we get a series of errors/warnings. Some of the errors are seeing are:
Warning 41 The variable 'UltraGridColumn9' is either undeclared or was never assigned.
Warning 51 The variable 'UltraGridBand2' is either undeclared or was never assigned.
Warning 22 The variable 'Appearance6' is either undeclared or was never assigned.
Warning 148 Could not find type 'Infragistics.Win.UltraWinMaskedEdit.MaskedEditTabNavigation'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Again, the above is just a sample of the errors we are seeing. I should also mention that we are targeting the 4.0 (full) framework.
Any ideas what could be causing these problems and how we can correct them?
Thanks.
Jim
Hello Jim,
Have you been able to sucessfully use the designer on a new sample project with Visual Studio 2010, .NET 4.0, and Infragistics 2011 Volume 1? This will ensure that Visual Studio creates a proper toolbox for the newer version(s) that you install. Also, I recommend clearing the "license.licx" of all Infragistics entries. The file might still be pointing to 2007. Please save the file after it's cleared. Also you should make sure all the Infragistics assemblies referenced in your project have the "Specific Version" property set to false. You may want to clean the solution and rebuild.
Now, if you open the designer, the toolbox should be working correclty.
For more details please visit our online help for further documentation and tips on upgrading.
Hello Michael,
Yes, in answer to your question, we have been able to successfully use Visual Studio 2010 with the 4.0 Framework and Infragistics 2011 Volume 1. We've had no issues creating brand new solutions/projects, as well as, converting older versions of applications to VS2010 and the 2011.1 version of the controls.
I tried what you had suggested. The License.licx file only had references to the 2011.1 controls, but I cleared it out anyway. I also double-checked the "Specific version" property for the Infragistic references and there were a couple that had it set to "True" so I set those to "False". I cleaned the solution and re-built and I am still getting the error messages when I try to open a form in design view. The application still runs fine though.
I've checked out the link for further help on upgrading. Haven't found anything just yet that is helpful, but I'll keep looking. If you have any more suggestions I'm open to hearing them.
Thanks!