Used https://github.com/analogdevicesinc/libiio/releases/download/2015.2-r1/libiio-setup.exe to install libiio in a 64-bit Windows 7 system.
Created a C# application with configuration having "Any CPU" option. Added reference to "C:\Program Files\Common Files\libiio\ libiio-sharp.dll". The Example in https://github.com/analogdevicesinc/libiio/blob/master/bindings/csharp/examples/ExampleProgram.cs
crashes when creating the context in line " Context ctx = new Context("192.168.1.10");"
The exception thrown is as follows:
Exception thrown: 'System.DllNotFoundException' in libiio-sharp.dll
Additional information: Unable to load DLL 'libiio.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
AssemblyInfo.cs is attached here for reference.