Skip to content

Commit a63d84b

Browse files
authored
Fix local feed step to look in root for nuget config. (#3144)
1 parent 18b21f5 commit a63d84b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/pipelines/common/templates/steps/update-nuget-config-local-feed-step.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ steps:
2727
2828
#Set the Nuget.config file in the project to use extracted package
2929
$rootFolder = Get-location
30-
[Xml] $nugetConfig = Get-Content -Path "src\Nuget.config"
30+
[Xml] $nugetConfig = Get-Content -Path "Nuget.config"
3131
$Value = Resolve-Path ${{parameters.downloadedNugetPath }}
3232
$newAdd = $nugetConfig.CreateElement("add")
3333
$newAdd.SetAttribute("key","Package source")
3434
$newAdd.SetAttribute("value", "$Value\" )
3535
$nugetConfig.configuration.packageSources.AppendChild($newAdd)
36-
$nugetConfig.Save("$rootFolder\src\Nuget.config")
36+
$nugetConfig.Save("$rootFolder\Nuget.config")
3737
displayName: 'Update NuGet config file to read from Nuget folder'
3838

3939
- task: MSBuild@1

0 commit comments

Comments
 (0)