C# 缺少引用:.net core Visual Studio 2017-SSIS集成

C# 缺少引用:.net core Visual Studio 2017-SSIS集成,c#,visual-studio-2015,ssis,asp.net-core,visual-studio-2017,C#,Visual Studio 2015,Ssis,Asp.net Core,Visual Studio 2017,一位顾问在VS15中修改了我们的项目(asp.net core C#),以添加对SSIS包的调用 在VS17中编译此代码时出现错误 using System.Data.Sql; using Microsoft.SqlServer.Management.IntegrationServices; using static Microsoft.SqlServer.Management.IntegrationServices.PackageInfo; var intSvc = new Integrat

一位顾问在VS15中修改了我们的项目(asp.net core C#),以添加对SSIS包的调用

在VS17中编译此代码时出现错误

using System.Data.Sql;
using Microsoft.SqlServer.Management.IntegrationServices;
using static Microsoft.SqlServer.Management.IntegrationServices.PackageInfo;

var intSvc = new IntegrationServices(new System.Data.SqlClient.SqlConnection(Database.GetDbConnection().ConnectionString));
....
....
错误

Error CS0234 The type or namespace name 'Sql' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
Error CS0234 The type or namespace name 'Management' does not exist in the namespace 'Microsoft.SqlServer' (are you missing an assembly reference?)
Error CS0246 The type or namespace name 'IntegrationServices' could not be found (are you missing a using directive or an assembly reference?)
....
....

Visual Studio 2017是否无法支持SSIS调用?还是我只需要找到这些库并创建对它们的显式引用?

您是否尝试重新添加对这些组件的引用?右键单击项目内的引用,单击添加引用并重新添加所有缺少的组件。

根据(2017年6月)的VS 2017更新3(15.3)之前,VS 2017中似乎不支持SSI

对Visual Studio 2017集成服务的支持正在进行中 进展,但尚未在发布日提供。现在我们推荐 如果需要使用所有BI项目类型,请使用VS2015的SSDT 在一个解决方案中结合在一起,但请继续关注更新 在这个问题上

据了解,昨天(2017年8月15日)发布的VS 2017更新3(15.3)将提供SSIS支持。它将像单独的
.exe
安装程序一样提供。以下是这次讨论的引述:

SSI严重依赖COM,我们依赖于VSTA和旧的SSIS运行时(以支持多个目标服务器版本),因此我们需要一个exe安装程序(如SSDT for VS2015安装程序)来捆绑所有内容。我们的安装程序可以很快在SSDT下载页面找到。一旦发布,我会让你们所有人都知道。目前我们的目标是本周或下周初,只要一切顺利


仅供参考:已决定从存储过程调用SSIS包,从而消除了对这些麻烦依赖项的需求。