Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


NuGet install of dll causes an error in Visual Studio 2012


I am running the following on a x64 Windows 7 Professional Box:

Microsoft Visual Studio Premium 2012

Microsoft .NET Framework Version 4.5.50938

Installed Version: Premium

Microsoft Visual Studio Tools for Applications 2012

Microsoft Visual C# 2012

NuGet Package Manager in Visual Studio. For more information about NuGet, visit

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 11.0.5058.0

SQL Server Data Tools 11.1.50226.0
Microsoft SQL Server Data Tools

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 11.0.3369.0

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 11.0.3369.0

I have added a script task to a dts package. I opened the script through the "Edit Script" button and used NuGet from there to add the WinSCP dll and exe to the class project. It succeeded and I could see the dll reference and the exe in the project and save the project. When I hit "OK" on the script task I get an error:

TITLE: Microsoft Visual Studio

Cannot show the editor for this task.


Exception from HRESULT: 0x80131940 (Microsoft.SqlServer.DTSRuntimeWrap)

If i try to save the package i get:

TITLE: Microsoft Visual Studio

Failure saving package.


'.', hexadecimal value 0x00, is an invalid character. Line 2, position 13. (Microsoft.SqlServer.ManagedDTS)

I have made every attempt to solve this myself but am at a dead end. Has anyone else experienced this?