1
0
Форкнуть 0

Clear nuget cache for every build. (This will be removed after couple runs)

This commit is contained in:
Cijo Thomas 2017-07-13 16:57:50 -07:00
Родитель e7783f6ab2
Коммит 15666460a1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -168,7 +168,7 @@
<Exec Command=".\nuget.exe locals all -clear" ContinueOnError="ErrorAndStop" />
</Target>
<Target Name="Build" DependsOnTargets="CheckBuildParameters;DownloadCLI">
<Target Name="Build" DependsOnTargets="CheckBuildParameters;DownloadCLI;ClearNugetCache">
<Exec Command='"$(CliToolsPath)\dotnet.exe" --version' />
<Exec Command='"nuget.exe" restore' ContinueOnError="ErrorAndStop" />
<Exec Command='"$(CliToolsPath)\dotnet.exe" build $(ProjectToBuild) -c $(Configuration)' ContinueOnError="ErrorAndStop" />