Use MSBuild to set NuGet feeds instead of NuGet.config

This commit is contained in:
Nate McMaster
2017-10-02 14:12:55 -07:00
parent 63e0af2ee8
commit 9f05a3d34b
3 changed files with 16 additions and 4 deletions

14
build/sources.props Normal file
View File

@@ -0,0 +1,14 @@
<Project>
<Import Project="$(DotNetRestoreSourcePropsPath)" Condition="'$(DotNetRestoreSourcePropsPath)' != ''"/>
<PropertyGroup>
<RestoreSources>$(DotNetRestoreSources)</RestoreSources>
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'">
$(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;
</RestoreSources>
</PropertyGroup>
</Project>