SSIS脚本不断恢复到.Net Framework 4.5 [英] SSIS Script Keeps Reverting To .Net Framework 4.5

查看:136
本文介绍了SSIS脚本不断恢复到.Net Framework 4.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了以下问题:我有一个SSIS软件包,其中需要使用.Net Framework 4.6的某些功能。

I've got the following issue: I've got an SSIS package, in which I would need to use some features of the .Net Framework 4.6.

每当我在项目属性中设置框架版本时,都不会抱怨,我可以毫无错误地构建项目。但是,一旦我保存文件并关闭脚本,它就会恢复为.Net 4.5。

Whenever I set the Framework version in the project proprties, it doesn't complain, I can build the project without errors. However, as soon as I save the file and close the script, it reverts to .Net 4.5.

我已经检查了这两个链接,但是解决方案不起作用对我来说:

I've checked these two links, but the solution did not work for me:

SSIS脚本组件-更改目标.net版本会不断恢复
无法将多个项目的目标框架从v4.0更改为V4.5或4.5.1

我什至安装了目标执行完好无误的Framework Migration 工具确认框架已更改,但是在关闭并重新打开项目后,它又回到了v4.5。

I've even installed the Target Framework Migration tool, which executes without errors, confirms that the framework was changed, but after closing and reopening the project it's back to v4.5 again.

有人可以帮忙吗?

预先感谢。

推荐答案

保存脚本任务/组件中的更改是一个三步过程:构建/保存/好。

Saving changes in script tasks/components is a three step process: Build/Save/Ok.

1。)在VSTA中,更改.NET框架,然后构建解决方案。

1.) In VSTA, change the .NET framework and then Build the solution.

2.)保存解决方案,然后关闭VSTA。

2.) Save the solution and close VSTA.

3。)回到脚本转换编辑器时,单击确定。如果单击取消,则所有更改都将被消除,您将需要重做所有操作。

3.) When you are back to the Script Transformation Editor, click OK. If you click cancel, all of your changes will be eliminated and you will have to redo everything.

这篇关于SSIS脚本不断恢复到.Net Framework 4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆