From 2d69698cfa5b051c5bf0f06ef10645c79214596d Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 20 Nov 2017 16:05:56 -0800 Subject: [PATCH] Use MSBuild to set NuGet feeds instead of NuGet.config (#2176) --- Directory.Build.props | 3 ++- NuGet.config | 5 +---- build/sources.props | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 build/sources.props diff --git a/Directory.Build.props b/Directory.Build.props index ebebe73c9c..877639ff43 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,10 +1,11 @@ - + + Microsoft ASP.NET Core diff --git a/NuGet.config b/NuGet.config index 9d49a5334e..e32bddfd51 100644 --- a/NuGet.config +++ b/NuGet.config @@ -2,9 +2,6 @@ - - - - + diff --git a/build/sources.props b/build/sources.props new file mode 100644 index 0000000000..e6a1c2b358 --- /dev/null +++ b/build/sources.props @@ -0,0 +1,17 @@ + + + + + $(DotNetRestoreSources) + + $(RestoreSources); + https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; + https://dotnet.myget.org/F/roslyn/api/v3/index.json; + + + $(RestoreSources); + https://api.nuget.org/v3/index.json; + + +