Changed .NET Framework version to 4.0