Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 3384c2a

Browse files
committed
Merge pull request #2263 from dotnet-bot/from-tfs
Merge changes from TFS
2 parents ad3186c + a4e90d4 commit 3384c2a

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

dir.props

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,16 @@
4343
<ToolsDir Condition="'$(ToolsDir)'==''">$(PackagesDir)Microsoft.DotNet.BuildTools.$(BuildToolsVersion)/lib/</ToolsDir>
4444
</PropertyGroup>
4545

46+
<!-- list of nuget package sources passed to nuget.exe -->
47+
<ItemGroup>
48+
<NuGetSourceList Include="https://www.myget.org/F/dotnet-buildtools" />
49+
</ItemGroup>
50+
4651
<!-- Common nuget properties -->
4752
<PropertyGroup>
4853
<NuGetToolPath Condition="'$(NuGetToolPath)'==''">$(PackagesDir)NuGet.exe</NuGetToolPath>
49-
<NuGetConfigFile Condition="'$(NuGetConfigFile)'==''">$(SourceDir)NuGet.Config</NuGetConfigFile>
50-
<NuGetConfigCommandLine>-ConfigFile "$(NuGetConfigFile)"</NuGetConfigCommandLine>
54+
<NuGetPackageSource>@(NuGetSourceList -> '-source %(Identity)', ' ')</NuGetPackageSource>
55+
<NuGetConfigCommandLine>$(NuGetPackageSource)</NuGetConfigCommandLine>
5156

5257
<NugetRestoreCommand>"$(NuGetToolPath)"</NugetRestoreCommand>
5358
<NugetRestoreCommand>$(NugetRestoreCommand) install</NugetRestoreCommand>

src/NuGet.Config

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)