From 423f265223934edfc3a73d66868287e3670363a5 Mon Sep 17 00:00:00 2001 From: clown Date: Tue, 26 Mar 2019 00:39:29 +0900 Subject: [PATCH] Fix path for packages. --- AzurePipelines.yml | 7 +++---- NuGet.config | 10 +++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/AzurePipelines.yml b/AzurePipelines.yml index 12cef6c1..43c8425c 100644 --- a/AzurePipelines.yml +++ b/AzurePipelines.yml @@ -14,8 +14,8 @@ variables: PROJECT_PLATFORM: 'Any CPU' PROJECT_CONFIG: 'Release' PROJECT_BIN: 'bin\Any CPU\Release\net45' - TEST_TOOL: '..\packages\OpenCover\4.7.922\tools\OpenCover.Console.exe' - TEST_CORETOOL: '..\packages\NUnit.ConsoleRunner\3.10.0\tools\nunit3-console.exe' + TEST_TOOL: '$(UserProfile)\.nuget\packages\OpenCover\4.7.922\tools\OpenCover.Console.exe' + TEST_CORETOOL: '$(UserProfile)\.nuget\packages\NUnit.ConsoleRunner\3.10.0\tools\nunit3-console.exe' TEST_RESULTS: 'TestResults' TEST_COVERAGE: 'CoverResults.xml' @@ -31,8 +31,7 @@ steps: - task: NuGetCommand@2 inputs: command: 'restore' - restoreSolution: '**\*.sln' - nugetConfigPath: 'NuGet.config' + restoreSolution: '$(PROJECT_NAME).sln' displayName: 'Restore NuGet packages' - task: VSBuild@1 diff --git a/NuGet.config b/NuGet.config index e736e2a5..54abedc3 100644 --- a/NuGet.config +++ b/NuGet.config @@ -1,8 +1,8 @@  - - - - - + + + + +