Clear nuget cache for every build. (This will be removed after couple runs)
This commit is contained in:
Родитель
e7783f6ab2
Коммит
15666460a1
|
@ -168,7 +168,7 @@
|
||||||
<Exec Command=".\nuget.exe locals all -clear" ContinueOnError="ErrorAndStop" />
|
<Exec Command=".\nuget.exe locals all -clear" ContinueOnError="ErrorAndStop" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="Build" DependsOnTargets="CheckBuildParameters;DownloadCLI">
|
<Target Name="Build" DependsOnTargets="CheckBuildParameters;DownloadCLI;ClearNugetCache">
|
||||||
<Exec Command='"$(CliToolsPath)\dotnet.exe" --version' />
|
<Exec Command='"$(CliToolsPath)\dotnet.exe" --version' />
|
||||||
<Exec Command='"nuget.exe" restore' ContinueOnError="ErrorAndStop" />
|
<Exec Command='"nuget.exe" restore' ContinueOnError="ErrorAndStop" />
|
||||||
<Exec Command='"$(CliToolsPath)\dotnet.exe" build $(ProjectToBuild) -c $(Configuration)' ContinueOnError="ErrorAndStop" />
|
<Exec Command='"$(CliToolsPath)\dotnet.exe" build $(ProjectToBuild) -c $(Configuration)' ContinueOnError="ErrorAndStop" />
|
||||||
|
|
Загрузка…
Ссылка в новой задаче