The SSIS packages are now throwing an error when attempting to execute the script task. The debugger is not available as the script task cannot be instantiated.
Error: Exception has been thrown by the target of an invocation.
Within the script editor the Code Analysis tool (Menu > Build > Run Code Analysis on...) produces the following issue:
'ScriptMain' is marked ComVisible(true) but has the following
ComVisible(false) types in its object hierarchy: 'VSTARTScriptObjectModelBase'
I tried decorating the class and Main method with [ComVisible(false)] which did not work.
WinSCP v5.9.6 (no longer works using SSIS 2012).
How can I resolve this issue?