1
0
Форкнуть 0

Replace dotnet restore with nuget.exe restore as it'll take care of both packages.config based and csproj package reference based dependencies

This commit is contained in:
Cijo Thomas 2017-07-10 21:59:08 -07:00
Родитель 0cb25f5139
Коммит 23cdc14d9e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -170,7 +170,7 @@
<Target Name="Build" DependsOnTargets="CheckBuildParameters;DownloadCLI">
<Exec Command='"$(CliToolsPath)\dotnet.exe" --version' />
<Exec Command='"$(CliToolsPath)\dotnet.exe" restore' ContinueOnError="ErrorAndStop" />
<Exec Command='"nuget.exe" restore' ContinueOnError="ErrorAndStop" />
<Exec Command='"$(CliToolsPath)\dotnet.exe" build $(ProjectToBuild) -c $(Configuration)' ContinueOnError="ErrorAndStop" />
<Exec Condition="$(RunTests) != '' And $(RunTests)" Command='"$(CliToolsPath)\dotnet.exe" build %(TestProject.Identity) -c $(Configuration)' ContinueOnError="ErrorAndStop" />
<Message Condition="$(RunTests) != '' And $(RunTests)" Importance="high" Text="Running tests..."></Message>