Topic "NuGet install of dll causes an error in Visual Studio 2012"

Author Message



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?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
Duplicate post:
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License