Customize form suddenly got error related to Sage library

SOLVED

Hi all, I have a customize form that have been working for ages. On recent changes, it got error on customer side, while on my local PC the form is still working. Looking at the error, it is related to Sage library. The only difference from customer server and mine was the version. They are using Sage 200 2017 while I am using 2019. It have been working for years but now it have error? Has the library been deprecated recently or something?

  • +1
    verified answer

    I guess what must've happened here is that the client got patched with an updated SDBX containing one of your assemblies which has been built against the 2019 binaries - because the BaseForm in 2017 didn't have the discoverabilityPanel.  You'll need to do them a build where you reference the 2017 binaries (what I do is to create a new configuration in Visual Studio, then I edit the csproj file to conditionally add a reference based on the selected configuration. That means I can do a build for a specific target version without having to maintain a completely separate codebase).