I guess you never should underestimate the power of a good nights sleep!
I started over from scratch, added the missing files to the project, copied the DLL:s and updated the paths and now both Debug and Release works!!!
Thank you for all your help, I was starting to think I was a complete idiot and should change my trade...
