cmVisualStudio10TargetGenerator: Refactor target framework selection Split the selection from the generation of the resulting element(s).