Include TargetFrameworkVersion/Profile in both project and configuration.

This is required to work around MonoDevelop/Xamarin.