Plugin support for multiple versions of BricsCAD

Hi

We have a Plugin that gets installed to the customer via an Msi. The Msi writes the appropriate registry values to HKEY_LOCAL_MACHINE\SOFTWARE\Bricsys\ObjectDRX\V23x64\Applications\OurPlugin so that the plugin automatically loads.
My question is about supporting BricsCAD 24. In addition to V23 keys I have added HKEY_LOCAL_MACHINE\SOFTWARE\Bricsys\ObjectDRX\V24x64\Applications\OurPlugin to the installer which points to the same plugin. After running the new installer, the plugin now loads in V24. But is this the correct way of doing it (ie, one build for multiple versions)? The plugin was compiled against V23.
Just want to avoid problems downstream!

Comments

  • Hi,

    If the assembly works as expected in multiple versions (i.e., it only uses APIs that did not change in the targeted versions), it is a correct way.
    I have plugins compiled against V19 which work with all versions up to V24.