2017-11-28 12:54:32 -08:00
<Project ToolsVersion="15.0">
<Target Name="WriteNugetConfigFile">
2017-11-28 17:12:44 -08:00
<ItemGroup>
<NugetConfigPrivateFeeds Include="$(ExternalRestoreSources.Split(';'))" />
</ItemGroup>
2018-02-05 15:52:17 -08:00
2017-11-28 12:54:32 -08:00
<PropertyGroup>
<NugetConfigHeader>
2017-11-28 17:12:44 -08:00
<![CDATA[
<?xml version="1.0" encoding="utf-8"?>
<configuration>
2017-12-04 14:32:56 -08:00
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
2017-11-28 17:12:44 -08:00
]]>
2017-11-28 12:54:32 -08:00
</NugetConfigHeader>
2017-11-29 10:22:27 -08:00
<NugetConfigCLIFeeds>
2017-11-28 17:12:44 -08:00
<![CDATA[
2018-07-17 22:24:10 +05:30
<add key="myget-vstest" value="https://dotnet.myget.org/F/vstest/api/v3/index.json" />
2017-11-28 17:12:44 -08:00
<add key="BlobFeed" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
2018-03-19 09:57:09 -07:00
<add key="aspnetcore-release" value="https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json" />
2018-05-31 11:07:55 -07:00
<add key="aspnetcore-dev" value="https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json" />
2018-06-01 13:31:03 -07:00
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
2018-06-15 15:18:30 -07:00
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
2018-06-19 13:13:41 -07:00
<add key="websdk" value="https://dotnet.myget.org/F/dotnet-web/api/v3/index.json" />
2018-04-11 21:28:53 +00:00
<add key="roslyn" value="https://dotnet.myget.org/f/roslyn/api/v3/index.json" />
2018-04-13 16:59:06 +00:00
<add key="nuget-build" value="https://dotnet.myget.org/F/nuget-build/api/v3/index.json" />
2018-04-11 21:19:06 +00:00
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
2018-04-11 21:33:50 +00:00
<add key="container-tools" value="https://www.myget.org/F/container-tools-for-visual-studio/api/v3/index.json" />
2018-04-20 14:11:06 -07:00
<add key="linux-musl-bootstrap-feed" value="https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180420-03/aspnet-inputs/index.json" />
2018-05-11 13:18:16 -05:00
<add key="dotnet-msbuild" value="https://dotnet.myget.org/F/msbuild/api/v3/index.json" />
2018-07-11 19:29:20 +05:30
<add key="myget-vstest" value="https://dotnet.myget.org/F/vstest/api/v3/index.json" />
2017-11-28 17:12:44 -08:00
]]>
2017-11-29 10:22:27 -08:00
</NugetConfigCLIFeeds>
2017-11-28 12:54:32 -08:00
<NugetConfigSuffix>
2017-11-28 17:12:44 -08:00
<![CDATA[
2017-12-04 14:32:56 -08:00
</packageSources>
2018-05-31 12:03:13 -07:00
<disabledPackageSources>
<clear/>
</disabledPackageSources>
2017-11-28 17:12:44 -08:00
</configuration>
]]>
2017-11-28 12:54:32 -08:00
</NugetConfigSuffix>
2018-02-05 15:52:17 -08:00
2017-11-29 10:22:27 -08:00
</PropertyGroup>
2017-11-28 12:54:32 -08:00
<WriteLinesToFile File="$(GeneratedNuGetConfig)"
Lines="$(NugetConfigHeader)"
Overwrite="true" />
2018-02-05 15:52:17 -08:00
2018-05-02 11:48:52 -05:00
<WriteLinesToFile Condition="'$(ExternalRestoreSources)' != ''"
2017-11-28 12:54:32 -08:00
File="$(GeneratedNuGetConfig)"
2018-05-02 11:59:01 -07:00
Lines="<add key="PrivateBlobFeed%(NugetConfigPrivateFeeds.Identity)" value="%(NugetConfigPrivateFeeds.Identity)" />"
2017-11-28 12:54:32 -08:00
Overwrite="false" />
<WriteLinesToFile Condition="'$(DotNetBuildOffline)' != 'true'"
File="$(GeneratedNuGetConfig)"
2017-11-29 10:22:27 -08:00
Lines="$(NugetConfigCLIFeeds)"
2017-11-28 12:54:32 -08:00
Overwrite="false" />
<WriteLinesToFile File="$(GeneratedNuGetConfig)"
Lines="$(NugetConfigSuffix)"
Overwrite="false" />
</Target>
</Project>