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 11
11
12
12
$NeededTools = @ {
13
13
OpenSsl = " openssl for macOS"
14
- DotNet451TargetingPack = " .NET 4.5.1 Targeting Pack"
15
14
PowerShellGet = " PowerShellGet latest"
16
15
InvokeBuild = " InvokeBuild latest"
17
16
}
@@ -36,18 +35,6 @@ function needsOpenSsl () {
36
35
return $false
37
36
}
38
37
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
-
51
38
function needsPowerShellGet () {
52
39
if (Get-Module - ListAvailable - Name PowerShellGet) {
53
40
return $false
@@ -68,9 +55,6 @@ function getMissingTools () {
68
55
if (needsOpenSsl) {
69
56
$missingTools += $NeededTools.OpenSsl
70
57
}
71
- if (needsDotNet451TargetingPack) {
72
- $missingTools += $NeededTools.DotNet451TargetingPack
73
- }
74
58
if (needsPowerShellGet) {
75
59
$missingTools += $NeededTools.PowerShellGet
76
60
}
You can’t perform that action at this time.
0 commit comments