Form Designer fails to launch in VSCode with error in terminal

Issue #140 resolved
Former user created an issue

In VSCode 1.35.1, I have disabled all extensions except for PowerShell 2019.5.0 and PowerShell Pro Tools 4.8.2.

$PSVersionTable:

Name                           Value
----                           -----
PSVersion                      5.1.17134.765
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.765
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Steps to reproduce: 1. Create and save a new, blank .ps1 file 2. Wait for PowerShell extension to load (if it isn't already loaded) 3. Choose "PowerShell Pro Tools: Show Windows Forms Designer" from the command palette

What happens: "Starting form designer..." appears briefly on the status bar, then disappears. No form designer window or other error notification appears. Terminal contains this:

> Clear-Host | Out-PoshProToolsPipe -PipeName '7d25c4f0-9da6-11e9-90b4-8b941774bb7f'
Out-PoshProToolsPipe : The term 'Out-PoshProToolsPipe' is not
recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:14
+ Clear-Host | Out-PoshProToolsPipe -PipeName
'7d25c4f0-9da6-11e9-90b4- ...
+              ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Out-PoshProToolsPipe:St
   ring) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Note that installing the previous version 4.8.1 restores functionality.

Comments (2)

  1. Log in to comment