File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,6 @@ function Clean-OutputFolder($folder) {
52
52
}
53
53
}
54
54
55
- # From http://www.dougfinke.com/blog/index.php/2010/12/01/note-to-self-how-to-programmatically-get-the-msbuild-path-in-powershell/
56
-
57
- Function Get-MSBuild {
58
- $lib = [System.Runtime.InteropServices.RuntimeEnvironment ]
59
- $rtd = $lib ::GetRuntimeDirectory()
60
- Join-Path $rtd msbuild.exe
61
- }
62
-
63
55
# ################
64
56
65
57
$root = Split-Path - Parent - Path $MyInvocation.MyCommand.Definition
@@ -79,7 +71,7 @@ Push-Location $projectPath
79
71
try {
80
72
Set-Content - Encoding ASCII $ (Join-Path $projectPath " libgit2sharp_hash.txt" ) $commitSha
81
73
Run- Command { & " $ ( Join-Path $projectPath " ..\Lib\NuGet\Nuget.exe" ) " Restore " $slnPath " }
82
- Run- Command { & ( Get- MSBuild) " $slnPath " " /verbosity:minimal" " /p:Configuration=Release" }
74
+ Run- Command { & " MSBuild.exe " " $slnPath " " /verbosity:minimal" " /p:Configuration=Release" }
83
75
84
76
If ($postBuild ) {
85
77
Write-Host - ForegroundColor " Green" " Run post build script..."
You can’t perform that action at this time.
0 commit comments