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
Build instructions outdated. Please revise to current usage requirements. #323
I had the same problem.
In my case, the powershell I was using was an older 5.x version, and upgrading to version 7 (clean install) solved the problem.
After installation, I used “PowerShell 7 (x64)” in the startup program and compiled without errors.
(The ? syntax that causes the error is said to be supported only by PowerShell 7 or later)
1) Check the version of PowerShell :.
PS C:\blahblah> $PSVersionTable
.....
PSVersion 5.1.22621.3880 <--- your version
PSEdition Desktop
.....
Activity
Mansoo commentedon Jul 23, 2024
I had the same problem.
In my case, the powershell I was using was an older 5.x version, and upgrading to version 7 (clean install) solved the problem.
After installation, I used “PowerShell 7 (x64)” in the startup program and compiled without errors.
(The ? syntax that causes the error is said to be supported only by PowerShell 7 or later)
1) Check the version of PowerShell :.
PS C:\blahblah> $PSVersionTable
.....
PSVersion 5.1.22621.3880 <--- your version
PSEdition Desktop
.....
2) Install the new version.
Check for new versions:
winget search Microsoft.PowerShell.Perform the installation:
winget install Microsoft.PowerShell