Remove unneeded NuGetConfigFile
resource string (#16232)
This commit is contained in:
parent
bd5dc97087
commit
080b754cb9
|
@ -2174,7 +2174,6 @@ function New-ReferenceAssembly
|
|||
Write-Log "GenAPI nuget package saved and expanded."
|
||||
|
||||
$genAPIFolder = New-TempFolder
|
||||
$packagingStrings.NugetConfigFile | Out-File -FilePath "$genAPIFolder/Nuget.config" -Force
|
||||
Write-Log "Working directory: $genAPIFolder."
|
||||
|
||||
$SMAReferenceAssembly = $null
|
||||
|
|
|
@ -170,16 +170,6 @@ open {0}
|
|||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
'@
|
||||
|
||||
NuGetConfigFile = @'
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
||||
<add key="powershell-core" value="https://powershell.myget.org/F/powershell-core/api/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
'@
|
||||
|
||||
GlobalToolNuSpec = @'
|
||||
|
|
Loading…
Reference in a new issue