Skip to content

Powershell: Select Script Analyzer Rules -> edit + confirm ->The PowerShell session has terminated due to an error, would you like to restart it? #1269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
falkheiland opened this issue Apr 14, 2018 · 1 comment

Comments

@falkheiland
Copy link

System Details

  • Operating system name and version: Win 10 Home 10.0.16299.0
  • VS Code version: 1.22.2
  • PowerShell extension version: 1.6.0
  • Output from $PSVersionTable:
    Name Value

PSVersion 5.1.16299.251
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.251
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

code -v: 1.22.2
3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
x64

$pseditor.EditorServicesVersion: ''
code --list-extensions --show-versions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

$PSVersionTable

Issue Description

  1. new file (PS) -> F1 -> Powershell: Select Script Analyzer Rules -> Check New Rule -> Confirm -> The PowerShell session has terminated due to an error, would you like to restart it? (Source Powershell Extension)

Attached Logs

Follow the instructions in the README
about capturing and sending logs.
EditorServices.log
vscode-powershell.log

@rkeithhill
Copy link
Contributor

Duplicate of #1155 which has been fixed on master. This fix should appear in the next update (after 1.6.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants