VS2013 没有选择 SQL2012 SSIS 自定义组件 [英] VS2013 not picking up SQL2012 SSIS Custom Components

查看:22
本文介绍了VS2013 没有选择 SQL2012 SSIS 自定义组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建自定义 SSIS 组件.虽然我使用 Visual Studio 2013 premium 作为我的主要 IDE,但我似乎陷入了以下问题.

I am trying to create a custom SSIS component. While I use Visual Studio 2013 premium as my main IDE I seems to have fallen into the below problem.

当我创建一个 SSIS 自定义组件(类库,使用 110 的 x86 文件夹中的 dll 的 .Net 4.0)时,我能够成功地编译、构建、在 GAC 注册并将它们复制到 110 的 DTS 组件文件夹.现在问题来了.当我在 VS2013 中创建 Integration Services 项目时,我在 SSIS 工具箱中看不到我新创建的组件.而如果我在 VS2010 中创建 ISP 项目,我会看到我的组件.

When I create a SSIS custom component (class library, .Net 4.0 using dlls from 110's x86 folder) I am successfully able to compile, build, register at GAC and copy them to 110's DTS component folder. Now here is the problem. When I create Integration Services Project in VS2013, I cannot see my newly created component in the SSIS toolbox. While if I create ISP project in VS2010 I see my component.

有人知道这是怎么回事吗?我使用 VS2013 创建了组件,但是 VS2013 不会在 SSIS 工具箱中显示我的组件...

Does anyone know what is going on? I created the component using VS2013, but VS2013 will not show my component in SSIS toolbox...

奖励问题 - 在玩游戏时,我删除了我的 AppData\Local\Microsoft\Microsoft SQL Server\110\SSIS\SSISToolboxConfig.dat 文件,现在 VS2013 在 ssis 工具箱中显示异常,没有显示任何组件.而vs2010运行正常?该文件现在回到文件夹中,但问题仍然存在.异常表示 - 构建此框架的内容时出现异常.

Bonus question - While playing around i deleted my AppData\Local\Microsoft\Microsoft SQL Server\110\SSIS\SSISToolboxConfig.dat file and now VS2013 shows exception in the ssis toolbox not showing any compoents. while vs2010 runs fine? The file is back now in the folder but problem persists. Exception says - exception while constructing the content of this frame.

推荐答案

无论您在哪里安装 SQL Server,都会有一些命名文件夹

Wherever you've installed SQL Server, you'll have some number named folders

  • 80 SQL Server 2000
  • 90 SQL Server 2005
  • 100 个 SQL Server 2008/SQL Server 2008 R2
  • 110 SQL Server 2012
  • 120 SQL Server 2014

SQL Server 文件名与版本

您正在使用 Visual Studio 创建程序集.时期.句号.您使用的工作室版本与它是否适用于 SSIS 无关.

You're using Visual Studio to create an assembly. Period. Full stop. The version of studio you are using has no bearing on whether it's going to work with SSIS.

相反,重要的是您引用的程序集.不幸的是,对于那些开发自定义任务和组件的人来说,它们绑定到 SQL Server 产品的特定版本.

Instead, what will matter is the assemblies you reference. Unfortunately for those that develop custom tasks and components, they are bound to specific versions of the SQL Server product.

由于您使用的是 110 个程序集,因此您的目标是 SSIS for SQL Server 2012,这意味着 SQL Server Data Tools - BI Edition/SSDT-BI for Visual Studio 2010 Visual Studio 2012.

Since you're using the 110 assemblies, you're targeting SSIS for SQL Server 2012 which means SQL Server Data Tools - BI Edition/SSDT-BI for Visual Studio 2010 or Visual Studio 2012.

Visual Studio 2013,一旦您安装了 SSDT-BI 插件,将只针对 SQL Server 2014.

Visual Studio 2013, once you install SSDT-BI addon will only target SQL Server 2014.

一位智者曾经评论过

我喜欢 VS/SSDT/SQL Server 版本矩阵.就像一个 47 面的魔方.

I love the VS / SSDT / SQL Server version matrix. It's like a 47-sided Rubik's cube.

这篇关于VS2013 没有选择 SQL2012 SSIS 自定义组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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