I have Windows 10 machine. In that I am running a c# project which references Oracle.DataAccess.dll
. I have installed ODAC112012_32Bit. There is a dll NexFen.FirmLoad
which accesses Oracle dll. When I run the project I get following error:
System.TypeInitializationException: The type initializer for 'NexGen.FirmLoad.AppUtils' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) --- End of inner exception stack trace --- at NexGen.FirmLoad.AppUtils..cctor()
--- End of inner exception stack trace --- at NexGen.FirmLoad.LoadFirmware.d__0.MoveNext()