Skip to content

Commit d31a55b

Browse files
committed
fix other references to net451 with net461
1 parent 52d8521 commit d31a55b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.build.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
param(
2-
[ValidateSet("net451", "netstandard2.0")]
3-
[string]$Framework = "net451",
2+
[ValidateSet("net461", "netstandard2.0")]
3+
[string]$Framework = "net461",
44

55
[ValidateSet("Debug", "Release", "PSv3Debug", "PSv3Release")]
66
[string]$Configuration = "Debug"
@@ -16,7 +16,7 @@ $buildData = @{}
1616
if ($BuildTask -eq "release") {
1717
$buildData = @{
1818
Frameworks = @{
19-
"net451" = @{
19+
"net461" = @{
2020
Configuration = @('Release', "PSV3Release")
2121
}
2222
"netstandard2.0" = @{
@@ -157,8 +157,8 @@ task createModule {
157157

158158
CopyToDestinationDir $itemsToCopyBinaries $destinationDirBinaries
159159

160-
# copy newtonsoft dll if net451 framework
161-
if ($Framework -eq "net451") {
160+
# copy newtonsoft dll if net461 framework
161+
if ($Framework -eq "net461") {
162162
copy-item -path "$solutionDir\Rules\bin\$Configuration\$Framework\Newtonsoft.Json.dll" -Destination $destinationDirBinaries
163163
}
164164
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ Exit
105105
You can either build using the `Visual Studio` solution `PSScriptAnalyzer.sln` or build using `PowerShell` specifically for your platform as follows:
106106
* Windows PowerShell version 5.0 and greater
107107
```powershell
108-
.\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build
108+
.\buildCoreClr.ps1 -Framework net461 -Configuration Release -Build
109109
```
110110
* Windows PowerShell version 3.0 and 4.0
111111
```powershell
112-
.\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build
112+
.\buildCoreClr.ps1 -Framework net461 -Configuration PSV3Release -Build
113113
```
114114
* PowerShell Core
115115
```powershell

Utils/ReleaseMaker.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ function New-ReleaseBuild
9393
try
9494
{
9595
remove-item out/ -recurse -force
96-
.\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build
97-
.\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build
96+
.\buildCoreClr.ps1 -Framework net461 -Configuration Release -Build
97+
.\buildCoreClr.ps1 -Framework net461 -Configuration PSV3Release -Build
9898
.\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build
9999
.\build.ps1 -BuildDocs
100100
}

buildCoreClr.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[switch]$Uninstall,
44
[switch]$Install,
55

6-
[ValidateSet("net451", "netstandard2.0")]
6+
[ValidateSet("net461", "netstandard2.0")]
77
[string]$Framework = "netstandard2.0",
88

99
[ValidateSet("Debug", "Release", "PSv3Debug", "PSv3Release")]
@@ -73,8 +73,8 @@ if ($build)
7373
# Copy Settings File
7474
Copy-Item -Path "$solutionDir\Engine\Settings" -Destination $destinationDir -Force -Recurse
7575

76-
# copy newtonsoft dll if net451 framework
77-
if ($Framework -eq "net451")
76+
# copy newtonsoft dll if net461 framework
77+
if ($Framework -eq "net461")
7878
{
7979
copy-item -path "$solutionDir\Rules\bin\$Configuration\$Framework\Newtonsoft.Json.dll" -Destination $destinationDirBinaries
8080
}

tools/appveyor.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Invoke-AppVeyorBuild {
5858
Push-Location $CheckoutPath
5959
[Environment]::SetEnvironmentVariable("DOTNET_SKIP_FIRST_TIME_EXPERIENCE", 1) # avoid unneccessary initialization in CI
6060
if ($BuildType -eq 'FullCLR') {
61-
.\buildCoreClr.ps1 -Framework net451 -Configuration $BuildConfiguration -Build
61+
.\buildCoreClr.ps1 -Framework net461 -Configuration $BuildConfiguration -Build
6262
}
6363
elseif ($BuildType -eq 'NetStandard') {
6464
.\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build

0 commit comments

Comments
 (0)