Hi,
We are integrating the Milestone SDK into our building management software.
At runtime, following exception is thrown.
VideoOS.Toolkit.FileException: Could not open file ‘CoreToolkits.dll’!
at VideoOS.Toolkit.ToolkitFactory.CreateInstance(String configurationXml)
at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.ToolkitWrapper..ctor()
at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.VideoImage.VideoImageManager..ctor(Dispatcher dispatcher)
at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.VideoImage.VideoImageManager.GetVideoImageManagerForCurrentThread()
at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.VideoImage.VideoImage..ctor()
at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.ToolkitVideoSource..ctor(MainModel mainModel)
at VideoOS.UI.Common.WPF.VideoPlayer.VideoPlayer..ctor()
at VideoOS.Platform.SDK.UI.DirectX.SmartClientVideoPlayer.Initialize()
at VideoOS.Platform.SDK.UI.DirectX.ImageViewerDirectX.Initialize()
at VideoOS.Platform.SDK.UI.SDKImageViewerControl.Initialize()
at VideoOS.Platform.SDK.PlatformImageViewerControl.Initialize()
I could find an older question related to the same error but I couldn’t find a solution for our problem.
We are using following NuGet packages:
* MilestoneSystems.VideoOS.Platform (23.3.2)
* MilestoneSystems.VideoOS.Platform.SDK (23.3.2)
* MilestoneSystems.VideoOS.Platform.SDK.Debug (23.3.2)
* MilestoneSystems.VideoOS.ConfigurationAPI (23.3.1)
I found out that the dependencies of both MilestoneSystems.VideoOS.Platform.SDK and MilestoneSystems.VideoOS.Platform.SDK.Debug
contain CoreToolkits.dll. But the version of this dll is different:
* MilestoneSystems.VideoOS.Platform.SDK: CoreToolkits.dll → 23.3.51.1 (27.4Mb)
* MilestoneSystems.VideoOS.Platform.SDK.Debug: CoreToolkits.dll → 23.3.26.1 (66Mb)
I’m not sure if this is causing the issue but is there someone who can clear this out?
Best regards,
Bart