Skip to content

Commit

Permalink
Specify solution file when running 'dotnet restore' command
Browse files Browse the repository at this point in the history
  • Loading branch information
satrapu committed May 17, 2020
1 parent 1d8d515 commit ed7ef91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/azure-pipelines.job-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
# The command used for generating the lock files is:
# dotnet restore ./Todo.sln --configfile ./nuget.config --use-lock-file --lock-file-path packages.lock.json
- script: >-
dotnet restore $(Build.SourcesDirectory)
dotnet restore $(Build.SourcesDirectory)/Todo.sln
--configfile $(Build.SourcesDirectory)/nuget.config
--locked-mode
name: 'restore_nuget_packages'
Expand Down

0 comments on commit ed7ef91

Please sign in to comment.