Sets .NET API compatibility level for specified build target.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.