Upgraded from 9.35 to 12.45

Posted by: sally on 6 February 2019, 3:36 pm EST

    • Post Options:
    • Link

    Posted 6 February 2019, 3:36 pm EST

    Hi,

    We are running a VS2017 application (.Net framework 4.6) using Spread V9.35. We upgrade the Spread for WinForms to V12.45. I updated the references in the application (VB.Net) and updated the licenses.licx to use 12.45. When I try to compile the application, I’m getting lots of errors (about 7,000). But the error that seems to possibly be the root cause is this: error BC30652: Reference required to assembly ‘GrapeCity.Spreadsheet.Win, Version=12.45.20181.0, Culture=neutral, PublicKeyToken=327c3516b1b18457’ containing the type ‘BaseStyleInfo’. Add one to your project.

    Our references to the spread are prefaced with FarPoint (like Farpoint.win). But I decided I would just add the reference in the error message and rebuild. Some Progress, I’m down to 4500 errors. Most of them are a variation of this:

    error BC30456: ‘ForeColor’ is not a member of ‘EnhancedColumnHeaderRenderer’.

    error BC30456: ‘RightToLeft’ is not a member of ‘EnhancedColumnHeaderRenderer’.

    I think I’m missing something fundamental. I can’t find much on upgrading other than update the references and change the licenses.licx file.

    Can you provide any assistance?

    Thanks,

    Sally

  • Posted 7 February 2019, 12:04 am EST

    Hello,

    It’s an old issue and our developers have also confirmed that though it cause breaking changes but it’s intended behavior.

    The reason is that in old version, EnhancedColumnHeaderRenderer inherits from FpButton (by accident) and it caused memory leak. Actually, those properties (BackColor, ForeColor, Font, RightToLeft etc. ) are from FpButton and it doesn’t get used by EnhancedColumnHeaderRenderer for any purpose.

    Hence, in order to fix your issue, you will have to remove all the lines of code which refers to those properties and are throwing error in your v12 application as it won’t make any change from the run-time behaviors.

    Hope it clarifies.

    Thanks,

    Reeva

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels