Change Framework to .net 4.0

Change the framework to .net 4.0 (and put in resource files in project)