Um, in C:\Windows\Microsoft.NET\Framework I have v1.0.3 v1.1.4 v2.0.5 v3.0 v3.5 v4
From powershell [System.Reflection.Assembly]::GetExecutingAssembly().ImageRuntimeVersion yields v2.0.50727
I have in my pwd WinSCP.exe and WinSCP.com from version 5.0.7 and WinSCP.dll from the same.
For what its worth, I am receiving this update when I execute this script from PowerGUI script editor, I do not receive the error when I run from powershell command line. There must be something I have misconfigured in PowerGUI. When I made this post, I hadn't tried running from powershell command line. :shock:
From powershell [System.Reflection.Assembly]::GetExecutingAssembly().ImageRuntimeVersion yields v2.0.50727
I have in my pwd WinSCP.exe and WinSCP.com from version 5.0.7 and WinSCP.dll from the same.
For what its worth, I am receiving this update when I execute this script from PowerGUI script editor, I do not receive the error when I run from powershell command line. There must be something I have misconfigured in PowerGUI. When I made this post, I hadn't tried running from powershell command line. :shock: