Visual Studio SSIS project execute script task : C# version

sakuraime 2,341 Reputation points
2021-12-22T04:37:55.34+00:00

I have a SSIS project and there is a script task inside it . but i am wonder if I can change the C# project version of it ? it always keep at framework 4.5

159561-image.png

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2021-12-22T06:03:27.603+00:00

    Hi @sakuraime ,

    You could change the version of it.

    It will pop up a window for more details.

    159547-image.png

    You may have a try.

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Yitzhak Khabinsky 26,586 Reputation points
    2021-12-22T15:55:30.007+00:00

    Hi @sakuraime ,

    It is a bug in the Visual Studio (VS). It does allow to change a .Net Framework.
    Though if you re-open it again, it will show you old value.

    Don't believe your eyes, the UI is deceiving.
    SSIS package 'remembers' that setting correctly.
    You can easily check it by viewing inside the SSIS package itself. After all, it is an XML file.
    Look for the following tag:

    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>  
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.