SSIS Script Component - Changing target .net versi

2019-06-28 07:42发布

问题:

Hoping you guys can help :)

Using VS2015 with currently latest version of SSDT. Have a script component and am trying to change the Target framework to 4.5.1 (from the default 4.5 - not sure where the default is gotten from) Have followed the instructions here - slightly modified for VS2015

The problem is that every time I set it and save, it reverts back to 4.5. Have also tried to set it backwards to 4.0 - same story.

Have tried saving and closing down project and Vsta editor in all combinations to no avail and suspect that this might be an environmental issue.

Any ideas?

TIA

Edit: I've since tried the exact same thing on another machine and it works perfectly, so it does indeed seem to be an environmental issues.

回答1:

First thing to do, when you are creating a project, make sure to choose Target framework to 4.5.1. Kindly refer to this Cannot change Target Framework on Several Projects From v4.0 to V4.5 or 4.5.1 .

Since you mentioned about environment issue, you need to verify that .net framework 4.5.1 and above were installed in your environment. Hope this will help.