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

查看:28
本文介绍了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

我什至安装了 目标框架迁移工具,该工具执行没有错误,确认框架已更改,但在关闭并重新打开项目后,它又回到了 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天全站免登陆