question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build failed: Maestro Build Promotion/main #Promoting dotnet-razor build 20230214.1 (166977) to channel(s) '.NET Core Tooling Dev' #

See original GitHub issue

Build #Promoting dotnet-razor build 20230214.1 (166977) to channel(s) ‘.NET Core Tooling Dev’ # failed

❌ : internal / Maestro Build Promotion failed

Summary

Finished - Tue, 14 Feb 2023 19:06:53 GMT Duration - 5 minutes Requested for - DotNet Bot Reason - manual

Details

Publishing

  • ❌ - [Log] - .packages\microsoft.dotnet.arcade.sdk\8.0.0-beta.23110.3\tools\SdkTasks\PublishArtifactsInManifest.proj(144,5): error : Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.LookupAsset(String name, Dictionary`2 buildAssets) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 254 at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.TryAddAssetLocation(String assetId, String assetVersion, Dictionary`2 buildAssets, TargetFeedConfig feedConfig, LocationType assetLocationType) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 294 at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.<>c__DisplayClass171_0.<<PublishAssetsUsingStreamingPublishingAsync>b__0>d.MoveNext() in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 1753 --- End of stack trace from previous location --- at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.PublishAssetsUsingStreamingPublishingAsync(IAssetPublisher assetPublisher, HashSet`1 assetsToPublish, Dictionary`2 buildAssets, TargetFeedConfig feedConfig, SemaphoreSlim clientThrottle) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 1724 at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.PublishAssetsAsync(IAssetPublisher assetPublisher, HashSet`1 assetsToPublish, Dictionary`2 buildAssets, TargetFeedConfig feedConfig, SemaphoreSlim clientThrottle) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 1673 at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.HandleBlobPublishingAsync(Dictionary`2 buildAssets, SemaphoreSlim clientThrottle) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 1045 at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestV3.ExecuteAsync() in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestV3.cs:line 197

Changes

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
epananthcommented, Mar 7, 2023

@allisonchou thank you for fixing this issue

Build that worked https://dev.azure.com/dnceng/internal/_build/results?buildId=2129364&view=results

Closing this issue

1reaction
allisonchoucommented, Mar 6, 2023

Thanks! I think this PR should fix things, but TBD: https://github.com/dotnet/razor/pull/8397

Read more comments on GitHub >

github_iconTop Results From Across the Web

EF Core add-migration Build Failed
I have a developer that is getting "Build failed." when running add-migration in a .NET Core EF project, with no explanation of why...
Read more >
Build fails when using sdk version 7.0.200 · Issue #30625
Describe the bug Project fails to build when the sdk version 7.0.200 is used: error NETSDK1194: The "--output" option isn't supported when ...
Read more >
NuGet Restore task fails for .Net Core project migrated with ...
Dear all, I have .Net Core project which has been converted with Visual Studio 2017. The build plan especially the task NuGet Restore...
Read more >
NETSDK1045: The current .NET SDK does not support ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >
dotnet build command - .NET CLI
The dotnet build command builds the project and its dependencies into a set of binaries. The binaries include the project's code in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found