File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 1111
1212$NeededTools = @ {
1313 OpenSsl = " openssl for macOS"
14- DotNet451TargetingPack = " .NET 4.5.1 Targeting Pack"
1514 PowerShellGet = " PowerShellGet latest"
1615 InvokeBuild = " InvokeBuild latest"
1716}
@@ -36,18 +35,6 @@ function needsOpenSsl () {
3635 return $false
3736}
3837
39- function needsDotNet451TargetingPack () {
40- if ($BootstrapBuildEnv -and ($OS -eq " Windows" )) {
41- $hasNet451TargetingPack = Get-CimInstance Win32_Product | Where-Object Name -match ' \.NET Framework 4\.5\.1 Multi-Targeting Pack'
42- if (-not $hasNet451TargetingPack ) {
43- return $true
44- }
45- } elseif ($OS -eq " Windows" ) {
46- Write-Host " [Bootstrap] Did not check if the .NET 4.5.1 Targeting Pack is present. To check, run 'build.ps1 -BootstrapBuildEnv'"
47- }
48- return $false
49- }
50-
5138function needsPowerShellGet () {
5239 if (Get-Module - ListAvailable - Name PowerShellGet) {
5340 return $false
@@ -68,9 +55,6 @@ function getMissingTools () {
6855 if (needsOpenSsl) {
6956 $missingTools += $NeededTools.OpenSsl
7057 }
71- if (needsDotNet451TargetingPack) {
72- $missingTools += $NeededTools.DotNet451TargetingPack
73- }
7458 if (needsPowerShellGet) {
7559 $missingTools += $NeededTools.PowerShellGet
7660 }
You can’t perform that action at this time.
0 commit comments