dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.74k stars 1.07k forks source link

Publish_HostedApp_WithRidSpecifiedAsArgument_NoSelfContained_Works test fails #44179

Open v-wuzhai opened 1 month ago

v-wuzhai commented 1 month ago

Describe the bug

The test Publish_HostedApp_WithRidSpecifiedAsArgument_NoSelfContained_Works fails when attempting to publish a Blazor hosted application with a specified Runtime Identifier (RID) and the --no-self-contained option on the release/9.0.2xx branch. The publish process fails with the following error:

error NETSDK1112: The runtime pack for Microsoft.NETCore.App.Runtime.Mono.browser-wasm was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'browser-wasm'.

This issue is currently blocking the following pull requests: PR #44138 PR #44148 PR #44155 PR #44178

marcpopMSFT commented 1 month ago

@lewing @dotnet/aspnet-blazor-eng not sure who should investigate but this is impacting a few separate PRs.

lewing commented 1 month ago

cc @maraf

maraf commented 1 month ago

It's the --no-selfcontained which blocks download browser-wasm runtime pack. It manifests on my machine even with preview7, I dunno so far why it started to fail on CI when merging 1xx to 2xx