We tried to migrate our webservice project to Visual Studio 2012 from Visual Studio 2010. The project uses the Oracle.DataAccess.dll (v 11.2.0.3 32 and 64 Bit) and we create *.XmlSerializers.dll with sgen.exe.
The sgen.exe always fails to create the XmlSerailizer.dll for the project that contains the Oracle.DataAccess.dll. We need to build the solution as AnyCPU.
The error message we receive is the following: SGEN : error : An attempt was made to load an assembly with an incorrect format: c:\oracle\x64\product\11.2.0\client_1\ODP.NET\bin\4\Oracle.DataAccess.dll.
Even only a side by side installation of Visual Studio 2010 & 2012 makes it impossible to build the Webservice project in either of the studios.
All our attempts to find a solution to the problem have failed so far. Does anybody have a similar constellation and found a solution to the problem?