I have four projects in my Visual Studio solution (everyone targeting .NET 3.5) - for my problem only these two are important:
Changing the target framework from .NET Framework 4 Client Profile to .NET Framework 4 fixed this problem for me.
So in your example: set the target framework on MyWebProject1 to .NET Framework 4