Changes per code review...
This commit is contained in:
parent
8b74ecd99b
commit
57a2ccfb2c
1 changed files with 31 additions and 25 deletions
|
@ -1,38 +1,44 @@
|
||||||
<Project ToolsVersion="15.0">
|
<Project ToolsVersion="15.0">
|
||||||
<Target Name="WriteNugetConfigFile">
|
<Target Name="WriteNugetConfigFile">
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<NugetConfigPrivateFeeds Include="$(ExternalRestoreSources.Split(';'))" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NugetConfigHeader>
|
<NugetConfigHeader>
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<![CDATA[
|
||||||
<configuration>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packageSources>
|
<configuration>
|
||||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
<packageSources>
|
||||||
<clear />
|
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||||
|
<clear />
|
||||||
|
]]>
|
||||||
</NugetConfigHeader>
|
</NugetConfigHeader>
|
||||||
|
|
||||||
<NugetConfigFeedsPrivate>
|
|
||||||
<add key="PrivateBlobFeed" value="$(ExternalRestoreSources)" />
|
|
||||||
</NugetConfigFeedsPrivate>
|
|
||||||
|
|
||||||
<NugetConfigFeedsNormal>
|
<NugetConfigFeedsNormal>
|
||||||
<add key="BlobFeed" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
|
<![CDATA[
|
||||||
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
<add key="BlobFeed" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
|
||||||
<add key="aspnet" value="https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json" />
|
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
||||||
<add key="websdkfeed" value="https://dotnet.myget.org/F/dotnet-web/api/v3/index.json" />
|
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
||||||
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
<add key="aspnet" value="https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json" />
|
||||||
<add key="roslyn" value="https://dotnet.myget.org/f/roslyn/api/v3/index.json" />
|
<add key="websdkfeed" value="https://dotnet.myget.org/F/dotnet-web/api/v3/index.json" />
|
||||||
<add key="symreader-native" value="https://dotnet.myget.org/f/symreader-native/api/v3/index.json" />
|
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
||||||
<add key="xunit" value="https://www.myget.org/F/xunit/api/v3/index.json" />
|
<add key="roslyn" value="https://dotnet.myget.org/f/roslyn/api/v3/index.json" />
|
||||||
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
|
<add key="symreader-native" value="https://dotnet.myget.org/f/symreader-native/api/v3/index.json" />
|
||||||
<add key="vstest" value="https://dotnet.myget.org/F/vstest/api/v3/index.json" />
|
<add key="xunit" value="https://www.myget.org/F/xunit/api/v3/index.json" />
|
||||||
<add key="web-api" value="https://dotnet.myget.org/F/dotnet-web/api/v3/index.json" />
|
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||||
<add key="symreader-native" value="https://dotnet.myget.org/F/symreader-native/api/v3/index.json" />
|
<add key="vstest" value="https://dotnet.myget.org/F/vstest/api/v3/index.json" />
|
||||||
<add key="AspNetMaster" value="https://dotnet.myget.org/F/aspnetcore-master/api/v3/index.json" />
|
<add key="web-api" value="https://dotnet.myget.org/F/dotnet-web/api/v3/index.json" />
|
||||||
|
<add key="symreader-native" value="https://dotnet.myget.org/F/symreader-native/api/v3/index.json" />
|
||||||
|
]]>
|
||||||
</NugetConfigFeedsNormal>
|
</NugetConfigFeedsNormal>
|
||||||
|
|
||||||
<NugetConfigSuffix>
|
<NugetConfigSuffix>
|
||||||
</packageSources>
|
<![CDATA[
|
||||||
</configuration>
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
|
]]>
|
||||||
</NugetConfigSuffix>
|
</NugetConfigSuffix>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -42,7 +48,7 @@
|
||||||
|
|
||||||
<WriteLinesToFile Condition="'$(ExternalRestoreSources)' != ''"
|
<WriteLinesToFile Condition="'$(ExternalRestoreSources)' != ''"
|
||||||
File="$(GeneratedNuGetConfig)"
|
File="$(GeneratedNuGetConfig)"
|
||||||
Lines="$(NugetConfigFeedsPrivate)"
|
Lines="<add key="PrivateBlobFeed" value="%(NugetConfigPrivateFeeds.Identity)" />"
|
||||||
Overwrite="false" />
|
Overwrite="false" />
|
||||||
|
|
||||||
<WriteLinesToFile Condition="'$(DotNetBuildOffline)' != 'true'"
|
<WriteLinesToFile Condition="'$(DotNetBuildOffline)' != 'true'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue