Skip to content

ContentViewTest.ps1 example broken #3821

Open
@StevenBucher98

Description

@StevenBucher98

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.

Summary

The ContentViewTest.ps1 does not work as expected when running on either the 2022.2.0 preview or 2021.12.0 Stable extension. The expected output is a second column with some

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.64.1
d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03
x64

Extension Version

ms-vscode.powershell@2021.12.0
ms-vscode.powershell-preview@2022.2.0

Steps to Reproduce

Open examples folder via PowerShell.OpenExamplesFolder command pallet command.

Run ./CommandViewTest.ps1

Second column opens but is blank. It is expected to have a simple page that says "Hello from JavaScript"

Visuals

image

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions