You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PowerShell extension fails to execute project commands correctly on VS Code 1.135.0 #5614
I am investigating an unexpected behavior involving the PowerShell extension in Visual Studio Code.
The issue is being observed in a Windows environment using PowerShell 7.6.6, VS Code 1.135.0 (x64), and PowerShell extension 2025.4.0.
I am providing the complete environment information and reproduction details below so the behavior can be diagnosed and the root cause can be isolated.
No assumptions are being made about whether the root cause is PowerShell, VS Code, the PowerShell extension, or the project environment.
PowerShell Version
Name Value---- -----PSVersion 7.6.6PSEdition CoreGitCommitId 7.6.6OS Microsoft Windows 10.0.19045Platform Win32NTPSCompatibleVersions {1.0, 2.0, 3.0, 4.0.}PSRemotingProtocolVersion 2.4SerializationVersion 1.1.0.1WSManStackVersion 3.0
Visual Studio Code Version
1.135.0x64
Extension Version
ms-vscode.powershell@2025.4.0
Steps to Reproduce
Steps to Reproduce
Start Visual Studio Code 1.135.0 (x64).
Open the affected PowerShell project/workspace.
Ensure the PowerShell extension ms-vscode.powershell version 2025.4.0 is enabled.
Start a PowerShell session using PowerShell 7.6.6.
Execute the command that triggers the problem.
Observe the resulting behavior.
Repeat the operation in a new VS Code window/session to determine whether the behavior is persistent.
Compare the result with the same command executed directly from a standalone PowerShell 7.6.6 terminal.
Visuals
Actual Behavior
The observed behavior is:
[DESCRIBE THE EXACT ERROR OR UNEXPECTED RESULT HERE]
Activity