Undo TargetFramework to 4.0, side effect could cause teamcity to fail