|
9 | 9 | <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="GetSourceBuiltNupkgCacheConflicts" />
|
10 | 10 | <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReadNuGetPackageInfos" />
|
11 | 11 | <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="RemoveInternetSourcesFromNuGetConfig" />
|
| 12 | + <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReplaceFeedsInNuGetConfig" /> |
12 | 13 | <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="UpdateJson" />
|
13 | 14 | <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ValidateUsageAgainstBaseline" />
|
14 | 15 | <UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="WriteBuildOutputProps" />
|
|
120 | 121 | SourceName="source-built"
|
121 | 122 | SourcePath="$(SourceBuiltPackagesPath)" />
|
122 | 123 |
|
| 124 | + <!-- Update NuGet.Config files that have deprecated myget feeds --> |
| 125 | + <ItemGroup> |
| 126 | + <LegacyFeedMapping |
| 127 | + Include="https://dotnet.myget.org/F/nuget-build/api/v3/index.json" |
| 128 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" /> |
| 129 | + <LegacyFeedMapping |
| 130 | + Include="https://www.myget.org/F/nugetbuild/api/v3/index.json" |
| 131 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" /> |
| 132 | + <LegacyFeedMapping |
| 133 | + Include="https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json" |
| 134 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json" /> |
| 135 | + <LegacyFeedMapping |
| 136 | + Include="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" |
| 137 | + NewFeed="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> |
| 138 | + <LegacyFeedMapping |
| 139 | + Include="https://dotnet.myget.org/F/system-commandline/api/v3/index.json" |
| 140 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" /> |
| 141 | + <LegacyFeedMapping |
| 142 | + Include="https://dotnet.myget.org/F/vstest/api/v3/index.json" |
| 143 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json" /> |
| 144 | + <LegacyFeedMapping |
| 145 | + Include="https://dotnet.myget.org/F/mstestv2/auth/1e768268-8c95-4e7e-9fd2-0eb1b1b69b18/api/v3/index.json" |
| 146 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json" /> |
| 147 | + <LegacyFeedMapping |
| 148 | + Include="https://dotnet.myget.org/F/roslyn/api/v3/index.json" |
| 149 | + NewFeed="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" /> |
| 150 | + <LegacyFeedMapping |
| 151 | + Include="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" |
| 152 | + NewFeed="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" /> |
| 153 | + <LegacyFeedMapping |
| 154 | + Include="https://dotnet.myget.org/F/roslyn-analyzers/api/v3/index.json" |
| 155 | + NewFeed="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" /> |
| 156 | + <LegacyFeedMapping |
| 157 | + Include="https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json" |
| 158 | + NewFeed="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" /> |
| 159 | + <LegacyFeedMapping |
| 160 | + Include="https://dotnet.myget.org/F/symreader-converter/api/v3/index.json" |
| 161 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 162 | + <LegacyFeedMapping |
| 163 | + Include="https://dotnet.myget.org/F/interactive-window/api/v3/index.json" |
| 164 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 165 | + <LegacyFeedMapping |
| 166 | + Include="https://dotnet.myget.org/F/mstestv2/api/v3/index.json" |
| 167 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json" /> |
| 168 | + <LegacyFeedMapping |
| 169 | + Include="https://dotnet.myget.org/F/vsunittesting/api/v3/index.json" |
| 170 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 171 | + <LegacyFeedMapping |
| 172 | + Include="https://dotnet.myget.org/F/msbuild/api/v3/index.json" |
| 173 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 174 | + <LegacyFeedMapping |
| 175 | + Include="https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" |
| 176 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/myget-legacy/nuget/v3/index.json" /> |
| 177 | + </ItemGroup> |
| 178 | + |
| 179 | + <ReplaceFeedsInNugetConfig InputFile="%(NuGetConfigFiles.Identity)" |
| 180 | + FeedMapping="@(LegacyFeedMapping)" /> |
| 181 | + |
123 | 182 | <!--
|
124 | 183 | The internal transport feed is dynamically added by Arcade by a script called directly in the
|
125 | 184 | official pipeline, so in some cases we need to do the same here.
|
|
353 | 412 | Inputs="$(MSBuildProjectFullPath)"
|
354 | 413 | Outputs="$(RepoCompletedSemaphorePath)RemoveBuiltPackagesFromCache.complete">
|
355 | 414 |
|
356 |
| - <ReadNuGetPackageInfos PackagePaths="@(_BuiltPackages)"> |
| 415 | + <ItemGroup> |
| 416 | + <!-- Excluding Arcade here will keep it in the cache, because that's where we're running from. |
| 417 | + Subsequent projects will get Arcade from Tools/source-built. --> |
| 418 | + <PackagePaths Include="@(_BuiltPackages)" Exclude="$(PackagesOutput)/Microsoft.DotNet.Arcade.Sdk.*.nupkg" /> |
| 419 | + </ItemGroup> |
| 420 | + |
| 421 | + <ReadNuGetPackageInfos PackagePaths="@(PackagePaths)"> |
357 | 422 | <Output TaskParameter="PackageInfoItems" ItemName="_BuiltPackageInfos" />
|
358 | 423 | </ReadNuGetPackageInfos>
|
359 | 424 |
|
|
0 commit comments