Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Version upgrade causing many build errors after the fact
posted

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.

Parents
No Data
Reply
  • 375
    Offline posted

    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?

    Regards
    Vasil

Children