WinSCP .Net Deployment
From what I have used so far this is a great tool.
Added WinSCP to my C# project using nugget (which is marked as version 5.7).
Examples given are concise and had all the options working in no time at all.
I have finished my app and created a deployment package.
Anyway down to my problem.
When I try and deploy the package onto a Windows 2012 Server I get the following error:
"Unable to install or run the application. The application requires that assembly WinSCP Version 1.0.6.3261 be installed in the Global Assembly Cache (GAC) first."
On checking the version of WinSCPnet.dll that came as part of the deployment is 1.2.6.5125.
Anyway, I have added this version to my GAC using gacutil.exe, but the above error is shown again
I have manually added into the GAC the version of the WinSCPnet.dll that came with the nugget package which is version 1.2.6.5125.
On re-running the deployment, the same message is still displayed.
What have I done wrong?
Paul
Added WinSCP to my C# project using nugget (which is marked as version 5.7).
Examples given are concise and had all the options working in no time at all.
I have finished my app and created a deployment package.
Anyway down to my problem.
When I try and deploy the package onto a Windows 2012 Server I get the following error:
"Unable to install or run the application. The application requires that assembly WinSCP Version 1.0.6.3261 be installed in the Global Assembly Cache (GAC) first."
On checking the version of WinSCPnet.dll that came as part of the deployment is 1.2.6.5125.
Anyway, I have added this version to my GAC using gacutil.exe, but the above error is shown again
I have manually added into the GAC the version of the WinSCPnet.dll that came with the nugget package which is version 1.2.6.5125.
On re-running the deployment, the same message is still displayed.
What have I done wrong?
Paul