Question: how to add npgsql reference?
Answer: dll into the application folder. Rigth-click Solution Explorer → References in your project, select Add Reference… → Browse, and select Npgsql. dll and Mono.