VS 2010 and .NET 4.0 compatibility