Skip to content

Commit

Permalink
Forcing Nuget restore on Kudu
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed May 5, 2016
1 parent 06778eb commit d21538e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ IF NOT DEFINED MSBUILD_PATH (
echo Handling .NET Web Application deployment.

:: 1. Restore NuGet packages
IF /I "" NEQ "" (
call :ExecuteCmd nuget restore "%DEPLOYMENT_SOURCE%\src\Orchard.sln"
IF !ERRORLEVEL! NEQ 0 goto error
)
call :ExecuteCmd nuget restore "%DEPLOYMENT_SOURCE%\src\Orchard.sln"
IF !ERRORLEVEL! NEQ 0 goto error

:: 2. Build to the temporary path
call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /t:Precompiled /v:m
Expand Down

0 comments on commit d21538e

Please sign in to comment.