Capture the user-supplied target framework

Use the captured target framework when creating projects using automation.

#378