I'm trying to build a C# assembly that uses the RFA library and I'm getting the following warning when compiling:
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "RFA8_NET140_x64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
The resulting program fails with exception:
System.BadImageFormatException: Could not load file or assembly 'RFA8_NET140_x64, Version=126.96.36.199, Culture=neutral, PublicKeyToken=07e17b14770d2d69' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I'm working on Windows 7 using MS Visual Studio Professional 2015 Version 14.0.25431.01 Update 3
Any suggestions? Thanks.