|
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" />
|
|
139 | 140 | SourcePath="$(ExtraRestoreSourcePath)"
|
140 | 141 | Condition="'$(ExtraRestoreSourcePath)' != ''" />
|
141 | 142 |
|
| 143 | + <!-- Update NuGet.Config files that have deprecated myget feeds --> |
| 144 | + <ItemGroup> |
| 145 | + <LegacyFeedMapping |
| 146 | + Include="https://dotnet.myget.org/F/nuget-build/api/v3/index.json" |
| 147 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" /> |
| 148 | + <LegacyFeedMapping |
| 149 | + Include="https://www.myget.org/F/nugetbuild/api/v3/index.json" |
| 150 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" /> |
| 151 | + <LegacyFeedMapping |
| 152 | + Include="https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json" |
| 153 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json" /> |
| 154 | + <LegacyFeedMapping |
| 155 | + Include="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" |
| 156 | + NewFeed="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> |
| 157 | + <LegacyFeedMapping |
| 158 | + Include="https://dotnet.myget.org/F/vstest/api/v3/index.json" |
| 159 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json" /> |
| 160 | + <LegacyFeedMapping |
| 161 | + Include="https://dotnet.myget.org/F/mstestv2/auth/1e768268-8c95-4e7e-9fd2-0eb1b1b69b18/api/v3/index.json" |
| 162 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json" /> |
| 163 | + <LegacyFeedMapping |
| 164 | + Include="https://dotnet.myget.org/F/roslyn/api/v3/index.json" |
| 165 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" /> |
| 166 | + <LegacyFeedMapping |
| 167 | + Include="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" |
| 168 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" /> |
| 169 | + <LegacyFeedMapping |
| 170 | + Include="https://dotnet.myget.org/F/roslyn-analyzers/api/v3/index.json" |
| 171 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" /> |
| 172 | + <LegacyFeedMapping |
| 173 | + Include="https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json" |
| 174 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" /> |
| 175 | + <LegacyFeedMapping |
| 176 | + Include="https://dotnet.myget.org/F/symreader-converter/api/v3/index.json" |
| 177 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 178 | + <LegacyFeedMapping |
| 179 | + Include="https://dotnet.myget.org/F/interactive-window/api/v3/index.json" |
| 180 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 181 | + <LegacyFeedMapping |
| 182 | + Include="https://dotnet.myget.org/F/mstestv2/api/v3/index.json" |
| 183 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json" /> |
| 184 | + <LegacyFeedMapping |
| 185 | + Include="https://dotnet.myget.org/F/vsunittesting/api/v3/index.json" |
| 186 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> |
| 187 | + <LegacyFeedMapping |
| 188 | + Include="https://dotnet.myget.org/F/msbuild/api/v3/index.json" |
| 189 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" /> |
| 190 | + <LegacyFeedMapping |
| 191 | + Include="https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" |
| 192 | + NewFeed="https://pkgs.dev.azure.com/dnceng/public/_packaging/myget-legacy/nuget/v3/index.json" /> |
| 193 | + </ItemGroup> |
| 194 | + |
| 195 | + <ReplaceFeedsInNugetConfig InputFile="%(NuGetConfigFiles.Identity)" |
| 196 | + FeedMapping="@(LegacyFeedMapping)" /> |
| 197 | + |
142 | 198 | <WriteLinesToFile File="$(RepoCompletedSemaphorePath)UpdateNuGetConfig.complete" Overwrite="true" />
|
143 | 199 | </Target>
|
144 | 200 |
|
|
0 commit comments