e2b679c4bb
* 'master' of /Users/livarcocc/Documents/git/cli: (1063 commits) Updating signing project to use new intermediate directory (int). Update runtimeconfig.json doc for 2.1 (#9382) Shortening the path to the intermediate folder by renaming it to int. fix typo (#9364) Updating asp.net to 2.2.0 as well. Updating the build and tests to work with the 2.2.0 runtime. Simplified combining dictionaries in Telemetry Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" (#9362) Fix extraction of folders (#9335) Update Sha256Hasher.cs Fix relative path tool path (#9330) Insert updated SDK from 2.1.4xx branch MSBuild 15.8.60 Fix crash when user home directory cannot be determined. Make `CliFolderPathCalculator` a static class. Don't add the ReleaseSuffix to the branding on the CLI when DropSuffix is set to true. Add retry when Directory.Move (#9313) Override new SdkResult public properties Add reference to Microsoft.Build.NuGetSdkResolver Disable crossgen for MSBuild inline-task refs ...
63 lines
2.6 KiB
XML
63 lines
2.6 KiB
XML
<Project ToolsVersion="15.0">
|
|
<Target Name="WriteNugetConfigFile">
|
|
|
|
<ItemGroup>
|
|
<NugetConfigPrivateFeeds Include="$(ExternalRestoreSources.Split(';'))" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<NugetConfigHeader>
|
|
<![CDATA[
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<packageSources>
|
|
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
|
<clear />
|
|
]]>
|
|
</NugetConfigHeader>
|
|
|
|
<NugetConfigCLIFeeds>
|
|
<![CDATA[
|
|
<add key="BlobFeed" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
|
|
<add key="aspnetcore-release" value="https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json" />
|
|
<add key="aspnetcore-dev" value="https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json" />
|
|
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
|
<add key="roslyn" value="https://dotnet.myget.org/f/roslyn/api/v3/index.json" />
|
|
<add key="nuget-build" value="https://dotnet.myget.org/F/nuget-build/api/v3/index.json" />
|
|
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
<add key="container-tools" value="https://www.myget.org/F/container-tools-for-visual-studio/api/v3/index.json" />
|
|
<add key="linux-musl-bootstrap-feed" value="https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180420-03/aspnet-inputs/index.json" />
|
|
<add key="dotnet-msbuild" value="https://dotnet.myget.org/F/msbuild/api/v3/index.json" />
|
|
<add key="dotnet-cli" value="https://dotnet.myget.org/F/dotnet-cli/api/v3/index.json" />
|
|
]]>
|
|
</NugetConfigCLIFeeds>
|
|
|
|
<NugetConfigSuffix>
|
|
<![CDATA[
|
|
</packageSources>
|
|
</configuration>
|
|
]]>
|
|
</NugetConfigSuffix>
|
|
|
|
</PropertyGroup>
|
|
|
|
<WriteLinesToFile File="$(GeneratedNuGetConfig)"
|
|
Lines="$(NugetConfigHeader)"
|
|
Overwrite="true" />
|
|
|
|
<WriteLinesToFile Condition="'$(ExternalRestoreSources)' != ''"
|
|
File="$(GeneratedNuGetConfig)"
|
|
Lines="<add key="PrivateBlobFeed%(NugetConfigPrivateFeeds.Identity)" value="%(NugetConfigPrivateFeeds.Identity)" />"
|
|
Overwrite="false" />
|
|
|
|
<WriteLinesToFile Condition="'$(DotNetBuildOffline)' != 'true'"
|
|
File="$(GeneratedNuGetConfig)"
|
|
Lines="$(NugetConfigCLIFeeds)"
|
|
Overwrite="false" />
|
|
|
|
<WriteLinesToFile File="$(GeneratedNuGetConfig)"
|
|
Lines="$(NugetConfigSuffix)"
|
|
Overwrite="false" />
|
|
|
|
</Target>
|
|
</Project>
|