Post a reply

Options
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)

Options

Topic review

martin

Re: Loading the WinSCP.net to GAC

This is not really WinSCP question.

Try asking on Stack Overflow or similar site.

Please post a link here, if you do.
whess

Loading the WinSCP.net to GAC

I'm working on using WinSCP to automate the task of sending files via SFTP.
When in Visual Studio I can setup a process to run and send the file with no problem.
I can also run it from the command prompt and the file transfers.
When I deploy the package though the process errors out.
Message I get back is that was expecting a 0 and received a 1.
I'm thinking it is because I don't have the WinSCP.net loaded to the GAC that is mentioned in the forums.
Problem is how to install the .net assembly to the GAC.
All the documentation I've seen says I can use Visual Studio 2012 to load it but our servers only have the 2012 Shell installed and not the full version.
I have also tried the gacutil and it errored out for the same reason saying I didn't have the full version of Visual Studio.

Any other way to get the .net assembly loaded to the GAC or what could be the problem why I'm getting the error.
Thanks in Advance.