Skip to content

Commit 6883618

Browse files
Update .NET SDK, PowerShell SDK dependencies (#2168)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: andyleejordan <2226434+andyleejordan@users.noreply.github.com>
1 parent 45e3e6c commit 6883618

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
1010
<PackageVersion Include="Pluralize.NET" Version="1.0.2" />
1111
<PackageVersion Include="PowerShellStandard.Library" Version="5.1.1" />
12-
<!-- Please update minimumPowerShellCoreVersion in PSScriptAnalyzer.psm1 when updating below SMA version for better user-facing error message -->
13-
<PackageVersion Include="System.Management.Automation" Version="7.4.13" />
12+
<!-- Please update minimumPowerShellCoreVersion in PSScriptAnalyzer.psm1 when updating below SMA major or minor version (but not patch) for better user-facing error message -->
13+
<PackageVersion Include="System.Management.Automation" Version="7.4.14" />
1414
<PackageVersion Include="System.Reflection.TypeExtensions" Version="4.7.0" />
1515
</ItemGroup>
1616
</Project>

Engine/PSScriptAnalyzer.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ $PSModuleRoot = $PSModule.ModuleBase
99

1010
# Import the appropriate nested binary module based on the current PowerShell version
1111
$binaryModuleRoot = $PSModuleRoot
12-
[Version] $minimumPowerShellCoreVersion = '7.4.13'
12+
# This should be the equivalent of 7.4.x i.e. latest major/minor supported but lowest patch.
13+
[Version] $minimumPowerShellCoreVersion = '7.4.6'
1314
if ($PSVersionTable.PSVersion.Major -ge 6) {
1415
$binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath "PSv$($PSVersionTable.PSVersion.Major)"
1516
# Minimum PowerShell Core version given by PowerShell Core support itself and

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.416",
3+
"version": "8.0.419",
44
"rollForward": "latestFeature"
55
}
66
}

0 commit comments

Comments
 (0)