Updated post: how-to-change-the-target-framework-version-using-codedom