File tree Expand file tree Collapse file tree
Microsoft.PowerShell.Commands.Utility
System.Management.Automation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "quality" : " daily" ,
55 "qualityFallback" : " preview" ,
66 "packageVersionPattern" : " 8.0.0" ,
7- "sdkImageVersion" : " 8.0.101 " ,
7+ "sdkImageVersion" : " 8.0.303 " ,
88 "nextChannel" : " 8.0.1xx" ,
99 "azureFeed" : " " ,
1010 "sdkImageOverride" : " "
Original file line number Diff line number Diff line change @@ -3541,3 +3541,23 @@ function Clear-NativeDependencies
35413541
35423542 $deps | ConvertTo-Json - Depth 20 | Set-Content " $PublishFolder /pwsh.deps.json" - Force
35433543}
3544+
3545+
3546+ function Update-DotNetSdkVersion {
3547+ $globalJsonPath = " $PSScriptRoot /global.json"
3548+ $globalJson = get-content $globalJsonPath | convertfrom-json
3549+ $oldVersion = $globalJson.sdk.version
3550+ $versionParts = $oldVersion -split ' \.'
3551+ $channel = $versionParts [0 ], $versionParts [1 ] -join ' .'
3552+ Write-Verbose " channel: $channel " - Verbose
3553+ $azure_feed = ' https://dotnetcli.azureedge.net/dotnet'
3554+ $version_file_url = " $azure_feed /Sdk/$channel /latest.version"
3555+ $version = Invoke-RestMethod $version_file_url
3556+ Write-Verbose " updating from: $oldVersion to: $version " - Verbose
3557+ $globalJson.sdk.version = $version
3558+ $globalJson | convertto-json | out-file $globalJsonPath
3559+ $dotnetRuntimeMetaPath = " $psscriptroot \DotnetRuntimeMetadata.json"
3560+ $dotnetRuntimeMeta = get-content $dotnetRuntimeMetaPath | convertfrom-json
3561+ $dotnetRuntimeMeta.sdk.sdkImageVersion = $version
3562+ $dotnetRuntimeMeta | ConvertTo-Json | Out-File $dotnetRuntimeMetaPath
3563+ }
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 8.0.206 "
3+ "version" : " 8.0.303 "
44 }
55}
Original file line number Diff line number Diff line change 3434 <ItemGroup >
3535 <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.8.0" />
3636 <PackageReference Include =" System.Threading.AccessControl" Version =" 8.0.0" />
37- <PackageReference Include =" System.Drawing.Common" Version =" 8.0.6 " />
37+ <PackageReference Include =" System.Drawing.Common" Version =" 8.0.7 " />
3838 <PackageReference Include =" JsonSchema.Net" Version =" 5.2.7" />
3939 <!-- This section is to force the version of non-direct dependencies -->
4040 <PackageReference Include =" Json.More.Net" Version =" 1.9.3" />
41- <PackageReference Include =" System.Text.Json" Version =" 6 .0.9 " />
41+ <PackageReference Include =" System.Text.Json" Version =" 8 .0.4 " />
4242 </ItemGroup >
4343
4444</Project >
Original file line number Diff line number Diff line change 1717 <ItemGroup >
1818 <!-- This section is to force the version of non-direct dependencies -->
1919 <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 8.0.0" />
20- <PackageReference Include =" Microsoft.Extensions.ObjectPool" Version =" 8.0.6 " />
20+ <PackageReference Include =" Microsoft.Extensions.ObjectPool" Version =" 8.0.7 " />
2121 <!-- the following package(s) are from https://github.com/dotnet/fxdac -->
2222 <PackageReference Include =" System.Data.SqlClient" Version =" 4.8.6" />
2323 <!-- the following package(s) are from https://github.com/dotnet/corefx -->
2424 <PackageReference Include =" System.IO.Packaging" Version =" 8.0.0" />
25- <PackageReference Include =" System.Net.Http.WinHttpHandler" Version =" 8.0.0 " />
25+ <PackageReference Include =" System.Net.Http.WinHttpHandler" Version =" 8.0.1 " />
2626 <PackageReference Include =" System.Text.Encodings.Web" Version =" 8.0.0" />
2727 <!--
2828 the following package(s) are from https://github.com/dotnet/wcf
3737 <PackageReference Include =" System.Private.ServiceModel" Version =" 4.10.3" />
3838 <PackageReference Include =" System.Web.Services.Description" Version =" 4.10.3" />
3939 <!-- the source could not be found for the following package(s) -->
40- <PackageReference Include =" Microsoft.Windows.Compatibility" Version =" 8.0.6 " />
40+ <PackageReference Include =" Microsoft.Windows.Compatibility" Version =" 8.0.7 " />
4141 </ItemGroup >
4242
4343</Project >
Original file line number Diff line number Diff line change 3636 <PackageReference Include =" System.Configuration.ConfigurationManager" Version =" 8.0.0" />
3737 <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" 8.0.1" />
3838 <PackageReference Include =" System.DirectoryServices" Version =" 8.0.0" />
39+ <!-- force update transative dependecies -->
40+ <PackageReference Include =" System.Formats.Asn1" Version =" 8.0.1" />
3941 <!-- PackageReference Include="System.IO.FileSystem.AccessControl" Version="6.0.0-preview.5.21301.5" /-->
4042 <PackageReference Include =" System.Management" Version =" 8.0.0" />
4143 <PackageReference Include =" System.Security.AccessControl" Version =" 6.0.1" />
You can’t perform that action at this time.
0 commit comments