File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
eng/pipelines/common/templates/steps Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ steps:
27
27
28
28
#Set the Nuget.config file in the project to use extracted package
29
29
$rootFolder = Get-location
30
- [Xml] $nugetConfig = Get-Content -Path "src\ Nuget.config"
30
+ [Xml] $nugetConfig = Get-Content -Path "Nuget.config"
31
31
$Value = Resolve-Path ${{parameters.downloadedNugetPath }}
32
32
$newAdd = $nugetConfig.CreateElement("add")
33
33
$newAdd.SetAttribute("key","Package source")
34
34
$newAdd.SetAttribute("value", "$Value\" )
35
35
$nugetConfig.configuration.packageSources.AppendChild($newAdd)
36
- $nugetConfig.Save("$rootFolder\src\ Nuget.config")
36
+ $nugetConfig.Save("$rootFolder\Nuget.config")
37
37
displayName : ' Update NuGet config file to read from Nuget folder'
38
38
39
39
- task : MSBuild@1
You can’t perform that action at this time.
0 commit comments