Changed to .net framework 4.0