How can I use nuget with SSDT?

ε祈祈猫儿з 提交于 2020-01-04 13:47:07

问题


I am working on an Integration Services project. One of the data sources I use calls for a package to be installed from nuget. I tried to go to "Tools > NuGet Package Manager" but it is not available in SQL Server Data Tools (SSDT). Next I tried to install nuget by downloading it from the nuget.org website. I got the following error: VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.

How can I use nuget with SSDT?


回答1:


The SSIS project type doesn't support Nuget.

It is possible to add a nuget reference to the csproj associated with a script task, but this may cause further discomfort at deployment time.

You can download nuget.exe by itself from nuget.org and install packages from the command line, but given the "special" requirements for installing external dlls used by SSIS it might be as easy to find a non-nuget source for the component you need.



来源:https://stackoverflow.com/questions/40977714/how-can-i-use-nuget-with-ssdt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!