Prerequisites
Steps to reproduce
Local build of PowerShell daily fails because Start-PSBootStrap.ps1 downloads and installs .NET 6 SDK Preview.4 instead of Preview.6 as the DotNetRuntimeMetadata.json still specifies Preview.4 for the current channel:
DotNetRuntimeMetadata.json:
"sdk": {
"channel": "6.0.1xx-preview4",
"quality": "signed",
"qualityFallback": "daily",
"packageVersionPattern": "6.0.0-preview.4",
"sdkImageVersion": "6.0.100",
"nextChannel": "6.0.1xx-preview6"
},
global.json already specifies the correct SDK version:
"sdk": {
"version": "6.0.100-preview.6.21355.2"
}
Expected behavior
The Start-PSBootStrap.ps1 should download and install .NET 6 Preview.6 SDK
Actual behavior
The Start-PSBootStrap.ps1 downloads and installs .NET 6 Preview.4 SDK
Error details
No response
Environment data
Name Value
---- -----
PSVersion 5.1.19041.1023
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1023
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Visuals
No response
Prerequisites
Steps to reproduce
Local build of PowerShell daily fails because Start-PSBootStrap.ps1 downloads and installs .NET 6 SDK Preview.4 instead of Preview.6 as the DotNetRuntimeMetadata.json still specifies Preview.4 for the current channel:
DotNetRuntimeMetadata.json:
global.json already specifies the correct SDK version:
Expected behavior
The Start-PSBootStrap.ps1 should download and install .NET 6 Preview.6 SDKActual behavior
The Start-PSBootStrap.ps1 downloads and installs .NET 6 Preview.4 SDKError details
No response
Environment data
Visuals
No response