I am having trouble with Oracle.DataAccess
in WPF
. I used Oracle.DataAccess v4.0
without any problems. But now it updated to version 4.112 and when I add reference to this version in WPF
the designer could not be loaded. It gives me the following error:
System.BadImageFormatException
Could not load file or assembly 'Oracle.DataAccess,
Version=4.112.3.0, Culture=neutral,
PublicKeyToken=89b483f429c47342' or one of its dependencies.
An attempt was made to load a program with an incorrect format.
Please note that program runs without any problem. I read that it can be due to "target cpu" in properties. I tested both x64 and x86 but nothing changes. How can I solve this problem. Thanks in advance