I was debugging an application using using .net framwork 4 in visual studio 2012 pro, with 'iAnywhere.Data.SQLAnywhere.v4.0' reference in the application; when I changed anything in the code in debug mode, I get:
Error 2 Assembly 'C:\myapp\IeStoredProcParmGenerator\obj\x86\Debug\IeStoredProcParmGenerator.exe' uses 'iAnywhere.Data.SQLAnywhere.v4.0, Version=184.108.40.20644, Culture=neutral, PublicKeyToken=f222fc4333e0d400' which has a higher version than referenced assembly 'iAnywhere.Data.SQLAnywhere.v4.0, Version=220.127.116.11604, Culture=neutral, PublicKeyToken=f222fc4333e0d400' ....
furthermore I used to be able to - close created connection without strange exception - use SACommandBuilder.DeriveParameters(cmd) and for each parm in cmd I can accesss parm.Precison and parm.Scale without exception not anymore since the sa 16 installation
Btw when I debug another sa 11 application solution that was setup before the sa 16 installation, I had no such driver conflict
I'd start by searching your project (including subdirectories) for references to Version=11. It sounds like you are building with references to both Version=16 and Version=11.
Not sure what you are getting at in the second comment. Here's an example of DerviceParameters that works for me.
answered 16 Jun '14, 14:58