You cannot use NuGet with SSIS. NuGet is for downloading packages for .NET applications. It doesn't support SSIS projects. While you can use a C#/VB script in SSIS it runs in a sandbox and won't have access to the assemblies that NuGet might have downloaded.
In fact, in order to use a third party assembly in SSIS you have to go through a series of steps:
- Ensure the assembly supports .NET 4 because that is the version of the DTS host the package runs under.
- The assembly must be strongly named by the publisher of the NuGet package.
- The assembly must be installed into the GAC on the development machine (for VS) and on the SSIS server (for runtime).
- You must add a reference to the GAC assembly using
Project References
inside the SSIS script task that needs it.