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

Author Message
jmatt

Guest


Hello,

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

Quote:
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 https://docs.nuget.org/.

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:

Quote:
TITLE: Microsoft Visual Studio
------------------------------

Cannot show the editor for this task.

------------------------------
ADDITIONAL INFORMATION:

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


If i try to save the package i get:

Quote:
TITLE: Microsoft Visual Studio
------------------------------

Failure saving package.

------------------------------
ADDITIONAL INFORMATION:

'.', 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?

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Duplicate post:
https://winscp.net/forum/viewtopic.php?t=15013
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License