Changed to .NET 4.0 due to support for Windows XP