Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
dotnet restore not needed in cli 2.0
Browse files Browse the repository at this point in the history
"Starting with .NET Core 2.0 SDK, dotnet restore runs implicitily when you run dotnet build." (C) https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build?tabs=netcore2x
  • Loading branch information
Igor Sychev committed Sep 7, 2017
1 parent 2a64cd5 commit fda16ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cli-windows/build-bits.ps1
Expand Up @@ -31,7 +31,6 @@ $projectPaths =
#Write-Host "Deleting old publish files in $outPath" -ForegroundColor Yellow
remove-item -path $outPath -Force -Recurse -ErrorAction SilentlyContinue
#Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow
dotnet build $projectPathAndFile
dotnet publish $projectPathAndFile -o $outPath -c Release
}
}
Expand Down
1 change: 0 additions & 1 deletion k8s/deploy.ps1
Expand Up @@ -54,7 +54,6 @@ Write-Host "Docker image Tag: $imageTag" -ForegroundColor Yellow
# building and publishing docker images if needed
if($buildBits) {
Write-Host "Building and publishing eShopOnContainers..." -ForegroundColor Yellow
dotnet restore ../eShopOnContainers-ServicesAndWebApps.sln
dotnet publish -c Release -o obj/Docker/publish ../eShopOnContainers-ServicesAndWebApps.sln
}
if ($buildImages) {
Expand Down

0 comments on commit fda16ba

Please sign in to comment.