Product: PowerShell Universal
Version: 5.0
since upgrading to 5.0 all scripts executed within the 5.1 environment fail with following error:
Import-Module : Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral,
PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
At C:\Program Files (x86)\Universal\UniversalHost.psm1:9 char:5
+ Import-Module $LocalHost
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Exception calling "StartJob" with "3" argument(s): "Could not load file or assembly
'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its
dependencies. The system cannot find the file specified."
At C:\Program Files (x86)\Universal\UniversalHost.psm1:28 char:13
+ [UniversalHost.AgentService]::StartJob($Port, $ParentProc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException