Files added to Powershell script Project are not Saved in VS 2019

Issue #119 resolved
Former user created an issue

Use Case

New => Powershell Script Project Add => New Script File Give it a name (e.g. foo.ps1) Save and close the solution Reopen the solution The file is not opened as part of the project (its still physically in the project folder, but VS dosen't display it as part of the project) Only the default file ("<Project Name>.ps1") appears

I have to manually edit the psproj file to add new files to the project

Particulars

Visual Studio 16.0.3 Powershell Tools Extension 4.4

$PSVersionTable: Name Value
---- -----
PSVersion 5.1.16299.1004
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.1004
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Comments (1)

  1. Log in to comment