From 6112a098c1a7d32389c0bc7bde179a9d3ec40dbc Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 2 Oct 2017 14:13:22 -0700 Subject: [PATCH] Use MSBuild to set NuGet feeds instead of NuGet.config --- Directory.Build.targets | 1 + NuGet.config | 5 +---- build/sources.props | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 build/sources.props diff --git a/Directory.Build.targets b/Directory.Build.targets index 5d5f288682..7bf9e763a6 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,4 +1,5 @@ + diff --git a/NuGet.config b/NuGet.config index 21510b3a41..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..ff68f685fa --- /dev/null +++ b/build/sources.props @@ -0,0 +1,14 @@ + + + + + $(DotNetRestoreSources) + + $(RestoreSources); + https://dotnet.myget.org/F/aspnet-2-0-2-october2017-patch/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-master/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; + https://api.nuget.org/v3/index.json; + + +