Conflict Between Milestone SDK and Azure.Core in .NET Application

Hi All,

I am developing a .NET 4.8 application using Visual Studio. The application pulls some data using the component integration SDK, and the intent is to then process and save some of this data to Azure Blob storage.

I can get this functionality to work independently, but the moment I install Nuget package MilestoneSystems.VideoOS.Platform.SDK version 23.3.2 in my project, I get the following exception during runtime:

System.IO.FileLoadException: ‘Could not load file or assembly ‘Azure.Core, Version=1.39.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)’

In my Bin directory I can see that the Azure.Core.dll post installation of Milestone SDK becomes version 1.25, when this should be 1.40 (as it is prior to installation of Milestone SDK).

Why does installing the Milestone SDK NuGet package force a downgrade of Azure.Core, and how would I resolve this?

Thanks!

In the next release of the MIP SDK NuGets, 2024R1, there is no Azure.Core so the issue will soon be no more. In general there is a better handling of references from the Milestonesys NuGets in 2024R1.

For now the best workaround is to replace the Azure.Core.dll after the build. Please use this as a temporary workaround.

Thank you for the quick response @Bo Ellegård Andersen (Milestone Systems)​ .

When do we expect IP SDK NuGets, 2024R1’s release and would it possibly also function with .Net Core?

The current MIP SDK is very heavily dependent on .Net Framework. Milestone is evaluating how a new MIP SDK might be developed, but we are talking about a new SDK, not porting the old. I have to say that you should not expect a .Net Core MIP SDK in the near future.

But for 2024R1 we expect release next week!