Skip to content

Commit 21f689c

Browse files
committed
Backing out changeset e0b5e265c263. Fixes issue #382. Fixes issue #388.
1 parent 8c405b5 commit 21f689c

File tree

5 files changed

+18
-116
lines changed

5 files changed

+18
-116
lines changed

Elmah.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
4949
build.cmd = build.cmd
5050
buildw.cmd = buildw.cmd
5151
COPYING.txt = COPYING.txt
52-
nugetRestore.proj = nugetRestore.proj
52+
prestore.cmd = prestore.cmd
5353
README.html = README.html
5454
README.txt = README.txt
5555
EndProjectSection

build.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ if %vrev% lss 17929 (
5050
echo.
5151
set build=%build% /t:Elmah;Elmah_net-4_0;Elmah_Tests
5252
)
53-
"%MSBUILDEXE%" nugetRestore.proj ^
53+
call prestore ^
5454
&& (for %%v in (3.5 4.0 4.5) do for %%c in (Debug Release) do %build% "/p:Configuration=NETFX %%v %%c;AspNetConfiguration=%%c" /v:m %* || exit /b 1)
5555
goto :EOF

nugetRestore.proj

-114
This file was deleted.

prestore.cmd

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@echo off
2+
pushd "%~dp0"
3+
call :main %*
4+
popd
5+
goto :EOF
6+
7+
:main
8+
setlocal
9+
for /f %%p in ('dir packages.config /s/b ^| findstr /v /i PrecompiledWeb') do (call :restore %%p || exit /b 1)
10+
goto :EOF
11+
12+
:restore
13+
setlocal
14+
echo Restoring packages for "%~dp1"
15+
tools\NuGet.exe restore %1 -PackagesDirectory packages
16+
goto :EOF

tools/NuGet.exe

1.59 MB
Binary file not shown.

0 commit comments

Comments
 (0)