So what happens if you target the .NET2.0 framework, compile (which presumably works), change nothing except targeting the .NET4.0 framework and re-compile (which presumably fails with an error message)?