Execute Script sometimes doesn't work after an error

Issue #70 new
Dave Hall created an issue

Hi there,

This extension's dead handy so thanks for that. I'm just getting one intermittent error which I couldn't find any details on the internet about. If I run a script using 'Execute Script' and it fails, sometimes after I fix the error and try rerunning I just get the following in the output window:

The program 'Script.ps1: PowerShell Script' has exited with code 0 (0x0).

Closing VS and reopening clears it. I'm using 4.1.6 and here's my $PSVersionTable output:

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

Comments (0)

  1. Log in to comment