diff --git a/Engine/Engine.csproj b/Engine/Engine.csproj index a7ea835ec..9a4b36efe 100644 --- a/Engine/Engine.csproj +++ b/Engine/Engine.csproj @@ -2,17 +2,17 @@ 1.17.1 - netstandard2.0;net451 + netstandard2.0;net452 Microsoft.Windows.PowerShell.ScriptAnalyzer Engine Microsoft.Windows.PowerShell.ScriptAnalyzer - + - + portable @@ -51,15 +51,15 @@ - + - + - + diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index 60cd91ee5..2932ba4ee 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -2,7 +2,7 @@ 1.17.1 - netstandard2.0;net451 + netstandard2.0;net452 Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules Rules Microsoft.Windows.PowerShell.ScriptAnalyzer @@ -13,12 +13,12 @@ - + - + portable @@ -41,7 +41,7 @@ - + diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index 68868664a..c6be2ef2e 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -93,9 +93,9 @@ function New-ReleaseBuild try { if ( test-path out ) { remove-item out/ -recurse -force } - .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build - .\buildCoreClr.ps1 -Framework net451 -Configuration PSV4Release -Build - .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build + .\buildCoreClr.ps1 -Framework net452 -Configuration PSV3Release -Build + .\buildCoreClr.ps1 -Framework net452 -Configuration PSV4Release -Build + .\buildCoreClr.ps1 -Framework net452 -Configuration Release -Build .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build .\build.ps1 -BuildDocs } diff --git a/build.psm1 b/build.psm1 index 5473a0da7..b10d4806a 100644 --- a/build.psm1 +++ b/build.psm1 @@ -167,7 +167,7 @@ function Start-ScriptAnalyzerBuild $frameworkName = "netstandard2.0" } else { - $frameworkName = "net451" + $frameworkName = "net452" } # build the appropriate assembly @@ -233,7 +233,7 @@ function Start-ScriptAnalyzerBuild Publish-File $settingsFiles (Join-Path -Path $destinationDir -ChildPath Settings) - # copy newtonsoft dll if net451 framework + # copy newtonsoft dll if net452 framework if ($Framework -eq "full") { Copy-Item -path "$projectRoot\Rules\bin\${config}\${frameworkName}\Newtonsoft.Json.dll" -Destination $destinationDirBinaries }