Remove unneeded NuGetConfigFile resource string (#16232)

This commit is contained in:
Dongbo Wang 2021-10-14 14:13:24 -07:00 committed by GitHub
parent bd5dc97087
commit 080b754cb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View file

@ -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

View file

@ -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 = @'