updated post how-to-change-the-target-framework-version-using-codedom