applied recent changes to .NET 4.0 projects