Replace pwsh with powershell in VS Code tasks.json for Windows#5327
Replace pwsh with powershell in VS Code tasks.json for Windows#5327iSazonov wants to merge 1 commit intoPowerShell:masterfrom
Conversation
|
|
|
What if I don't install Beta.9? |
|
But isn't this file only used with PSCore6? Eventually we will only support the final release which will be called pwsh. |
|
By default Windows don't have pwsh.exe installed. Currently we can not build PowerShell Core 6.0 on Windows from VS Code until we install PowerShell Core 6.0 >=Beta.9 but can from command line. On Unix we have to install PowerShell Core 6.0 in any case because we deprecate install.sh. |
|
@iSazonov I see. I wasn't thinking about the initial bootstrap issue, however, it would seem like this is an edge case as we're getting closer to a final version of 6.0.0. I expect the significant majority of people building PSCore6 to be using the build.psm1 module. The only time I ever build PSCore6 from VSCode is when debugging something. |
|
We should document if PowerShell Core 6.0 is mandatory prerequest on Windows now or better add in BootStrap (check latest version?). |
|
Ok, I close the PR because we'll have |
Problem
It is impossible to build and debug from VS Code on Windows - VS Code cannot find pwsh.exe.
Fix
Use powershell.exe on Windows to build.