Skip to content

Commit

Permalink
Fix path for packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Mar 25, 2019
1 parent dabb090 commit 423f265
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions AzurePipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<clear />
<add key="GlobalPackagesFolder" value="..\packages" />
<add key="RepositoryPath" value="..\packages" />
</config>
<config>
<clear />
<add key="GlobalPackagesFolder" value="..\packages" />
<add key="RepositoryPath" value="..\packages" />
</config>
</configuration>

0 comments on commit 423f265

Please sign in to comment.