Differences
This shows you the differences between the selected revisions of the page.
2024-03-13 | 2024-05-13 | ||
Restored revision 1708941541. Undoing revision 1710280493. (martin) (hidden) | exception types (martin) | ||
Line 549: | Line 549: | ||
> Method not found: ‘Void System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)’ | > Method not found: ‘Void System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)’ | ||
- | You are trying to use .NET Framework build of the assembly in .NET [Core] code or from PowerShell [Core]. | + | The exception can be represented as ''MethodInvocationException'' or ''MissingMethodException''. |
+ | |||
+ | The exception occurs, when you are trying to use .NET Framework build of the assembly in .NET [Core] code or from PowerShell [Core]. | ||
You need to use .NET Standard build of the assembly, which is located in the ''netstandard2.0'' subfolder of ''WinSCP-X.X.X-Automation.zip'' package. | You need to use .NET Standard build of the assembly, which is located in the ''netstandard2.0'' subfolder of ''WinSCP-X.X.X-Automation.zip'' package. |