compile target x86 Ok, but run on windows 10 get error (box is 64 bit)

Integrated SDK2020R1 with our code, which is target on x86, compiles ok, but at runtime we get below error (run box is 64 bit Windows 10). If I compile target x64 no runtime error, but I have to target x86 as we are hardware company and other dependencies has to be x86.

run time error:

An unhandled exception of type ‘System.BadImageFormatException’ occurred in Unknown Module.

Additional information: 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. occurred

I get same error from example ComponentSamples.sln code; I also tried SDK-2020-R3, SDK-2020-R2, all get same error.

Please point out what is wrong.

Can you please install Redistributable Installer x86 and try it again? Please make sure to refer x86 dlls in your project.

download.milestonesys.com\MIPSDK\MIPSDK_Redist_Installer_x86_2021R1.msi