Skip to content

Commit e9d1ae9

Browse files
authored
Stop publishing assets to .NET BAR for release-5.11.x branch (#6299)
1 parent 1d117a3 commit e9d1ae9

4 files changed

Lines changed: 0 additions & 91 deletions

File tree

NuGet.Config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<configuration>
33
<packageSources>
44
<clear />
5-
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
65
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
76
<add key="myget-legacy@Local" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/myget-legacy%40Local/nuget/v3/index.json" />
87
<add key="nuget-build" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" />

build/bootstrap.proj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
<PackageDownload Include="ILMerge" version="[3.0.21]" />
1414
<PackageDownload Include="Lucene.Net" version="[3.0.3]" />
1515
<PackageDownload Include="Microsoft.VisualStudioEng.MicroBuild.Core" version="[0.4.1]" />
16-
<PackageDownload Include="Microsoft.DotNet.Build.Tasks.Feed" version="[6.0.0-beta.20528.5]" /> <!-- for publishing to the .NET Core build asset registry (BAR) -->
17-
<PackageDownload Include="Microsoft.DotNet.Maestro.Tasks" version="[1.1.0-beta.21117.3]" /> <!-- for publishing to the .NET Core build asset registry (BAR) -->
1816
<PackageDownload Include="Microsoft.Web.Xdt" version="[3.0.0]" />
1917
<PackageDownload Include="Newtonsoft.Json" version="[9.0.1]" />
2018
<PackageDownload Include="NuGet.Build.Tasks.Pack" version="[5.8.0]" />

build/publish.proj

Lines changed: 0 additions & 73 deletions
This file was deleted.

eng/pipelines/templates/Build_and_UnitTest.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -463,20 +463,5 @@ steps:
463463
targetPath: "$(Build.Repository.LocalPath)\\logs\\LocalizationValidation"
464464
condition: "and(succeeded(), eq(variables['BuildRTM'], 'false'))"
465465

466-
# Use dotnet msbuild instead of MSBuild CLI.
467-
# Using MSBuild CLI results in an assembly binding failure for NuGet.Common.dll 4.4.0.3 because Microsoft.DotNet.Build.Tasks.Feed.dll references SleetLib.dll which references NuGet.Common 4.4.0.3.
468-
# The Microsoft.DotNet.Build.Tasks.Feed package includes NuGet.Common 4.9.0.6 and a binding redirection in Microsoft.DotNet.Build.Tasks.Feed.dll.config but the binding redirection is not processed.
469-
# This would probably solve it: https://github.com/Microsoft/msbuild/issues/1309
470-
- task: CmdLine@2
471-
displayName: "Publish to the .NET Core build asset registry (BAR)"
472-
inputs:
473-
script: dotnet msbuild $(Build.Repository.LocalPath)\build\publish.proj /t:PublishToBuildAssetRegistry /p:NuGetClientNupkgsDirectoryPath=$(Build.Repository.LocalPath)\artifacts\$(NupkgOutputDir) /p:BUILD_BUILDNUMBER=$(Build.BuildNumber) /p:BUILD_SOURCEBRANCH=$(Build.SourceBranchName) /p:BUILD_SOURCEVERSION=$(Build.SourceVersion) /p:BUILD_REPOSITORY_URI=$(Build.Repository.Uri) /p:BUILD_REPOSITORY_NAME=$(Build.Repository.Name) /p:ArtifactsLogDir=$(Build.Repository.LocalPath)\artifacts\manifests\ /p:MaestroApiEndpoint=$(MaestroApiEndpoint) /p:MaestroAccessToken=$(MaestroAccessToken)
474-
workingDirectory: cli
475-
failOnStderr: true
476-
env:
477-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
478-
DOTNET_MULTILEVEL_LOOKUP: true
479-
condition: " and(succeeded(),eq(variables['PublishArtifactsToDotNetBuildAssetRegistry'], 'true'), eq(variables['BuildRTM'], 'false')) "
480-
481466
- task: MicroBuildCleanup@1
482467
displayName: "Perform Cleanup Tasks"

0 commit comments

Comments
 (0)