Is there a way to use the C# SDK with a .Net Core / ASP.NET Core project ?

Hi,

I am trying to integrate the milestone SDK in our ASP.NET Core project, but I get the following error when calling VideoOS.Platform.SDK.Environment.AddServer() :

Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

I don’t understand why this is trying to call Windows.Forms

Hi Serge. It might be that you are missing framework assemblies reference in the project.json file. You can try to do what’s suggested here: https://stackoverflow.com/a/38470918

You might need to do Clear solution and rebuild afterwards.

We have checked that the VideoOS.Platform.SDK really depends on Windows.Forms at the moment. We are considering removing this dependency, but it is not a fast task, so unfortunately it will need to be like that for a while.

Hi Andriy

Is .NET Core support on the roadmap for the Milestone SDK?

Hi Peter. We are planning .NET Core support in the SDK, but it’s not scheduled yet.

Sadly I need to run my project on Linux, so adding Windows.Forms to .Net Core would break the cross-compatibility. Seems like my only solution is to implement the Protocol myself

Yes, unfortunately we don’t support Linux on the level of components at the moment, so you will need to do the Protocol integration.

When can we expect a .NET Core 3.0 version of your SDK now that Microsoft has released it with support for WPF and Winforms?

We also badly need .NET Core support of your SDK. Could you please provide an update on your schedule if any?

It is being discussed at Milestone how and when to support this. Unfortunately there is still no schedule. All I can really say is that it will not be in the next version.

Hi Bo, Please know that current .NET Core support is critical for us moving forward with Milestone.

Initial investigative work has begun, unfortunately this does not mean there is a planned and committed schedule for this. Please keep following the announcements from Milestone.

Hi Bo

Is there any news regarding support for .NET Core?

No.

This is a frequent request and it is considered important. Unfortunately there is no commitment as to when we will see it.