ComponentSamples.sln downloaded from GitHub get compile error

We’re having problem compile ComponentSamples.sln downloaded from GitHub, please point out how to fix this. We are using VS2017 and is C# shop.

Can you please tell us what error you got?

Hi Rie,

The ComponentSamples.sln compile error in original attached word doc (attached here again)
Can we connect instead trade emails. We are current Milestone SDK 3.0 user, we need upgrade for our customer. It’s urgent, I appreciate very6 much if we can connect I’ll show you and answer any more info you need.

I’m in New York. My desk phone: 631-842-9400 ext. 221
my SkypeId: robertz59

Thanks much,
Bob

Hi Rie,

If I remove 3 projects (MediaRGBVideoEnhancementLive.csproj, MediaRGBVideoEnhancementPlayback.csproj, RGBEnhancement.vcxproj), solution would compile.
But if I set startup project VideoViewer.csproj and build target platform to x86, I get below error when run. Our application need build target x86, the question is SDK2021R1 support x86? If is how do I fix this issue?

System.BadImageFormatException
HResult=0x8007000B
Message=Could not load file or assembly ‘VideoOS.Platform.SDK.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bc60fba4a7969f89’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source=
StackTrace:

Thanks much, Looking forward hear your reply, or talk to you.

Bob
631-842-9400 ext. 221
my SkypeId: robertz59

Dear Bob,

Please do not use NuGet for x86, because NuGet can work only x64. Can you please Install x86 redistributable SDK from the download site? Please see this link - https://developer.milestonesys.com/s/article/Processor-architecture-compatibility-for-the-Milestone-Integration-Platform-MIP-SDK

When you finish installing it, please pick up a project that you want to use – in your case VideoViewer sample, instead of using entire solution.

Best regards, Rie

Hi Rie,

I did not use NuGet, I downloaded SDK from https://www.milestonesys.com/thank-you-pages/download-mip-sdk/ then installed, use installed Bin folder and VideoViewer sample.
Can you please check it? I don’t see x86 distributable anywhere.

Regards,
Bob

Rye,

I have two questions about the link you sent to me:

1. what version SDK this x86 is for? 2021R1?

2. This x86 link no longer has any download (see below what I get when click on the link)
[cid:image003.jpg@01D77C79.E2509D60]

Thanks,
Bob

Rye,

One more question: What version Milestone VMS this x86 link will support?

Thanks,
Bob

I am very sorry for the link in the article, we did not know that the link was very old and would not work.

Let me introduce another way.

Please go to Milestone web site (https://www.milestonesys.com/).

Login to MyMilestone.

Click “Application Track” and you will see Application Track page. Please find “Get Started with the MIP SDK” in the page and expand it.

You will find MIP SDK 2021 R1 – Redistributable Installer x86 there.

If you are not MyMilestone member then please download the installer here -

download.milestonesys.com\MIPSDK\MIPSDK_Redist_Installer_x86_2021R1.msi

NOTE: When you build your application, please make sure to refer x86 dlls in your project.