I am getting the following
System.BadImageFormatException: 'Could not load file or assembly 'Flir.Atlas.Live, Version=2.0.14266.1000, Culture=neutral, PublicKeyToken=caa391fd8e07c76b' or one of its dependencies. An attempt was made to load a program with an incorrect format.'
I do have Flir.Atlas.Live referenced and the Version shows incorrectly as "2.0.14266.1000" in the reference properties.
When I go to the actual file I referenced at the path the version of that file is "6.0.18050.1001". When I check the dll file that is actually being copied to the bin/debug folder it is also version "6.0.18050.1001".
It is like there is a requirement somewhere that specifies version "2.0.14266.1000". I cannot find that version number anywhere in my solution when I search for it. If I delete Flir.Atlas.Live" as a reference and readd it I get the same result.
What could be causing the version mismatch?
EDIT - This is 64 bit. It was 32bit, I am compiling for 64 bit only.
EDIT 2 - .csproj file has old version requirements:
<Reference Include="Flir.Atlas.Image, Version=2.0.14266.1000, Culture=neutral, PublicKeyToken=caa391fd8e07c76b, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>............Program Files (x86)FLIR SystemsFLIR Atlas SDK 6inx64Flir.Atlas.Image.dll</HintPath>
</Reference>