Add sources

for the final time
This commit is contained in:
John Luo 2017-10-03 11:46:57 -07:00
parent f6fa111333
commit 37c12d5a64
2 changed files with 11 additions and 2 deletions

View File

@ -40,7 +40,7 @@
<!-- Restore and pack-->
<MSBuild Projects="$(MetapackageWorkDirectory)Microsoft.AspNetCore.All.csproj"
Targets="Restore;Pack"
Properties="Configuration=$(Configuration);AdditionalImports=$(GeneratedRestoreSourcesPropsPath)" />
Properties="Configuration=$(Configuration);DotNetRestoreSourcePropsPath=$(GeneratedRestoreSourcesPropsPath)" />
<!-- Copy to output directory -->
<ItemGroup>

View File

@ -1,9 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<Import Project="$(AdditionalImports)" Condition="'$(AdditionalImports)'!=''" />
<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>
<IncludeBuildOutput>false</IncludeBuildOutput>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PackageTags>aspnetcore</PackageTags>