Issue with Backward Compatibility of XProtect 2024 Plugin on Older Versions

Hi,

I’m facing an issue with plugin development. I created a plugin using 2024 R1 XProtect and the latest 2024 version of the MIP SDK templates.

The plugin runs successfully on the XProtect Smart Client 2024 versions. However, when I try to run it on an earlier version, I encounter multiple assembly errors. This happens because the types introduced in the 2024 SDK do not exist in the 2023 version.

This means my plugin cannot run on earlier versions of the Smart Client.

Here are some of the errors I’m getting:

Could not load type ‘VideoOS.Platform.Client.ClientActionGroup’ from assembly ‘VideoOS.Platform’

Could not load type ‘VideoOS.Platform.Client.ClientAction’ from assembly ‘VideoOS.Platform’

Could not load type ‘VideoOS.Platform.Client.ClientAction’ from assembly ‘VideoOS.Platform’

I would really appreciate some help with this issue.

ClientGroupAction was introduced in 2024R1.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2024r1_intro.html&tree=tree_search.html?search=action

This means it is new functionality that does not exist in older versions. If you are using this your plugins cannot work in older versions, only 2024R1 and newer.

Many thanks for quick reply @Bo Ellegård Andersen (Milestone Systems)​ ,

I got you, So ,if I’m not using it anywhere into my plugin and if i try to remove ClientGroupAction code ,

Will this be fine , also will this work ?

Yes. If you have a plugin that does not use ClientGroupAction code you should not see this issue, and your plugin will work (provided you don’t have other “new” functions also).

Perfect, I tested and it is working fine.

Also, last one.

where can i get XProtect products with older versions.

On our download page. Note this is the software, not licenses.

Note that up to a certain point you can run an old Smart Client towards a newer XProtect VMS.

https://www.milestonesys.com/my-milestone/download-software/ (Requires a MyMilestone login.)