I used the Version Utility to upgrade from 14.2 to 18.2 and made sure no references to 14.2 exist anywhere in the solution's projects. However, the following errors appear for many of the designer controls.
Error CS0012 The type 'UltraTabControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics4.Win.UltraWinTabControl.v14.2, Version=14.2.20142.2168, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'. <FileName>.Designer.cs
Error CS0012 The type 'UltraTabSharedControlsPage' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics4.Win.UltraWinTabControl.v14.2, Version=14.2.20142.2168, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'. <FileName>.Designer.cs
I tried cleaning, rebuilding, removing any cached folders and files, restarting Visual Studio several times, but nothing is helping. The toolbox also shows controls for both 14.2 and 18.2. The designer won't open because of all the underlying errors.
Hello Sam,
Not being able to see the designers is likely cause by there being a mis-match on version somewhere in the project or the dlls not being properly installed into the GAC. For checking the dlls in the project you will want to check the project references and the bin folder of the project. You will also want to check the licenses.licx.
Was the upgrade with Version Utility successful? At the end of the upgrade process there is a link "View the upgrade log..." which opens the log file. Can you please attach the full log file for the upgrade in a zip folder so we can take a look at it and see what might be causing that error?
RegardsVasil
Sorry for the delay, but I wanted to at least share the solution for others. The error was coming from one of the references to another project that I was using in the current project. Once I fixed the issue in that project and recompiled, the error went away.