diff --git a/Engine/Engine.csproj b/Engine/Engine.csproj index 0864d1e64..970bc7990 100644 --- a/Engine/Engine.csproj +++ b/Engine/Engine.csproj @@ -62,7 +62,7 @@ - + diff --git a/Engine/PSScriptAnalyzer.psm1 b/Engine/PSScriptAnalyzer.psm1 index ca4a76283..8c55c1d7e 100644 --- a/Engine/PSScriptAnalyzer.psm1 +++ b/Engine/PSScriptAnalyzer.psm1 @@ -13,8 +13,8 @@ $binaryModuleRoot = $PSModuleRoot if (($PSVersionTable.Keys -contains "PSEdition") -and ($PSVersionTable.PSEdition -ne 'Desktop')) { $binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath 'coreclr' - if ($PSVersionTable.PSVersion -lt [version]'6.0.2') { - throw "Minimum supported version of PSScriptAnalyzer for PowerShell Core is 6.0.2 but current version is '$($PSVersionTable.PSVersion)'. Please update PowerShell Core." + if ($PSVersionTable.PSVersion -lt [Version]'6.1.0') { + throw "Minimum supported version of PSScriptAnalyzer for PowerShell Core is 6.1.0 but current version is '$($PSVersionTable.PSVersion)'. Please update PowerShell Core." } } elseif ($PSVersionTable.PSVersion.Major -eq 5) { diff --git a/PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj b/PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj index 1d401cea2..8e0cf8279 100644 --- a/PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj +++ b/PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj @@ -18,7 +18,7 @@ - + diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index 30a717d5a..63f08609a 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -10,7 +10,7 @@ - +