Differences

This shows you the differences between the selected revisions of the page.

2023-09-25 2023-09-28 (current)
build anchor (martin) move details about assembly builds above "No additional installations steps are needed" (martin)
Line 9: Line 9:
The binaries interact with each other and must be kept in the same folder for the assembly to work. In rare situations this is not possible (e.g. when [[#gac|installing the assembly to GAC]]), make use of the ''[[library_session#executablepath|Session.ExecutablePath]]'' property to force the assembly to look for the ''winscp.exe'' in a different location. The binaries interact with each other and must be kept in the same folder for the assembly to work. In rare situations this is not possible (e.g. when [[#gac|installing the assembly to GAC]]), make use of the ''[[library_session#executablepath|Session.ExecutablePath]]'' property to force the assembly to look for the ''winscp.exe'' in a different location.
 +
 +The version of ''WinSCPnet.dll'' in the root of the package is .NET Framework ==build== of the assembly. If your project targets .NET (Core) or if you use [[library_powershell#powershell|PowerShell (Core) 6/7]], you have to use .NET Standard build of the assembly, which is located in the ''netstandard2.0'' subfolder. The .NET Standard build has some minor limitations and cannot be used with COM.
Further steps depend on a development environment/programming languages, that you will use with the assembly: Further steps depend on a development environment/programming languages, that you will use with the assembly:
Line 16: Line 18:
  * [[library_vb|VBA]], [[library_com_wsh|VBScript, JScript]], [[library_perl|Perl]]: You need to [[#registering|register the assembly for COM]].   * [[library_vb|VBA]], [[library_com_wsh|VBScript, JScript]], [[library_perl|Perl]]: You need to [[#registering|register the assembly for COM]].
  * SSIS: Read about [[library_ssis#using|using WinSCP .NET assembly from SSIS]].   * SSIS: Read about [[library_ssis#using|using WinSCP .NET assembly from SSIS]].
- 
-The version of ''WinSCPnet.dll'' in the root of the package is .NET Framework ==build== of the assembly. If your project targets .NET (Core) or if you use [[library_powershell#powershell|PowerShell (Core) 6/7]], you have to use .NET Standard build of the assembly, which is located in the ''netstandard2.0'' subfolder. The .NET Standard build has some minor limitations and cannot be used with COM. 
==== [[vs]] Using from Visual Studio or other Development or Runtime Environment ==== ==== [[vs]] Using from Visual Studio or other Development or Runtime Environment ====

Last modified: by martin