Merge pull request #8443 from johnbeisner/WriteNugetConfigFileTargetModification

Generate a Nuget.config once
This commit is contained in:
John Beisner 2018-01-22 14:11:27 -08:00 committed by GitHub
commit f6bc5d0ad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,6 @@
<Project ToolsVersion="15.0"> <Project ToolsVersion="15.0">
<Target Name="DownloadPackageVersionsProps" <Target Name="DownloadPackageVersionsProps"
Condition=" !Exists('$(OrchestratedPackageVersionsProps)') "
DependsOnTargets="BuildDotnetCliBuildFramework"> DependsOnTargets="BuildDotnetCliBuildFramework">
<DownloadFile Uri="$(PB_PackageVersionPropsUrl)$(CoreSetupBlobAccessTokenParam)" <DownloadFile Uri="$(PB_PackageVersionPropsUrl)$(CoreSetupBlobAccessTokenParam)"

View file

@ -1,5 +1,6 @@
<Project ToolsVersion="15.0"> <Project ToolsVersion="15.0">
<Target Name="WriteNugetConfigFile"> <Target Name="WriteNugetConfigFile"
Condition=" !Exists('$(GeneratedNuGetConfig)') ">
<ItemGroup> <ItemGroup>
<NugetConfigPrivateFeeds Include="$(ExternalRestoreSources.Split(';'))" /> <NugetConfigPrivateFeeds Include="$(ExternalRestoreSources.Split(';'))" />