dotnet / dotnet/sdk

Reenable Publish_HostingMultipleBlazorWebApps_Works test

Open
#53,689 0 comments 0 reactions 0 assignees View on GitHub
Area-AspNetCore Area: StaticWebAssets
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

The test `Microsoft.NET.Sdk.BlazorWebAssembly.Tests.WasmPublishIntegrationTest.Publish_HostingMultipleBlazorWebApps_Works` is failing with a duplicate key error in the `DiscoverPrecompressedAssets` task:

```
error MSB4018: The "DiscoverPrecompressedAssets" task failed unexpectedly.
System.ArgumentException: An item with the same key has already been added.
Key: ...\BlazorMultipleApps.Shared\bin\Debug\netstandard2.1\BlazorMultipleApps.Shared.pdb
```

This was observed in codeflow PR https://github.com/dotnet/sdk/pull/53613#issuecomment-4184244444.

The fix has been merged in https://github.com/dotnet/runtime/pull/126211. This requires a rebootstrap to pick up the fix. The test should be re-enabled once a new bootstrap SDK is available that includes the fix.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.