Skip to content

Commit

Permalink
Delete project.lock.json files before restoring packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Apr 22, 2016
1 parent 816e20c commit 0b546a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Restore.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ REM internal repositories.
set RoslynSolution=%1
if "%RoslynSolution%" == "" set RoslynSolution=%~dp0Roslyn.sln

echo Deleting project.lock.json files
pushd "%~dp0src"
del /s /q project.lock.json
popd

echo Restoring packages: Toolsets
call %NugetExe% restore "%~dp0build\ToolsetPackages\project.json" %NuGetAdditionalCommandLineArgs% || goto :RestoreFailed

Expand Down

0 comments on commit 0b546a1

Please sign in to comment.