diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-12-01 23:48:47 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-12-01 23:48:47 -0800 |
commit | c3fa77496617b84a6eb751fc80d556b4b898bd50 (patch) | |
tree | 2273b2099cc87f3149b2145b59eea6a6baa3e18c /tools/libcheck.ps1 | |
parent | bc6714786258281d9f144f96e795d06c31a16846 (diff) | |
parent | 7c1d657f7a81bf628298d37246dcb4165473738f (diff) | |
download | DotNetOpenAuth-c3fa77496617b84a6eb751fc80d556b4b898bd50.zip DotNetOpenAuth-c3fa77496617b84a6eb751fc80d556b4b898bd50.tar.gz DotNetOpenAuth-c3fa77496617b84a6eb751fc80d556b4b898bd50.tar.bz2 |
Merge branch 'v3.2' into v3.3
Diffstat (limited to 'tools/libcheck.ps1')
-rw-r--r-- | tools/libcheck.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libcheck.ps1 b/tools/libcheck.ps1 index e5417ca..0424aee 100644 --- a/tools/libcheck.ps1 +++ b/tools/libcheck.ps1 @@ -26,7 +26,7 @@ function Checkout($Version) { } function Build() { - msbuild.exe "$RootDir\src\DotNetOpenAuth\DotNetOpenAuth.csproj" /p:Configuration=$Configuration + & "$env:windir\Microsoft.NET\Framework\v3.5\msbuild.exe" "$RootDir\src\DotNetOpenAuth\DotNetOpenAuth.csproj" /p:Configuration=$Configuration /nologo /v:m } function Generate-Metadata($Version) { @@ -45,7 +45,7 @@ function ShadowCopy-Libcheck() { # This function copies LibCheck from the checked out version to a temp # directory so that as we git checkout other versions of DotNetOpenAuth, # we can be sure of running one consistent version of LibCheck. - Remove-Item -Recurse $LibCheckTmpDir + if (Test-Path $LibCheckTmpDir) { Remove-Item -Recurse $LibCheckTmpDir } Copy-Item -Recurse "$ToolsDir\LibCheck" (Split-Path $LibCheckTmpDir) # As a side benefit, this also puts the results of running LibCheck # outside the git repo so it can't get checked in accidentally. |