Skip to content

[wasm] Blazor/AOT tests failing because Microsoft.JSInterop.WebAssembly is not getting skipped for AOT #85010

@radical

Description

@radical

WBT tests Workloads-Wasm.Build.Tests.Blazor.MiscTests breaking on rolling build. Log:

    Wasm.Build.Tests.Blazor.MiscTests.DefaultTemplate_AOT_InProjectFile(config: "Debug") [FAIL]
      Assert.DoesNotContain() Failure
      Found:    Microsoft.JSInterop.WebAssembly.dll -> Microsoft.JSInterop.WebAssembly.dll.bc
...

This is with sdk 8.0.100-preview.4.23218.17, and fails because of
https://github.com/dotnet/sdk/blob/4ea3e8304c21022bbea72a29154b7602af4f9239/src/BlazorWasmSdk/Targets/Microsoft.NET.Sdk.BlazorWebAssembly.6_0.targets#L22
and https://github.com/dotnet/sdk/blob/4ea3e8304c21022bbea72a29154b7602af4f9239/src/BlazorWasmSdk/Targets/Microsoft.NET.Sdk.BlazorWebAssembly.6_0.targets#L60 . Removing the duplicate at line 60 fixes the issue.

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorPattern": "Found: *Microsoft.JSInterop.WebAssembly.dll -> Microsoft.JSInterop.WebAssembly.dll.bc",
  "BuildRetry": false
}

Report

Build Definition Test Pull Request
243658 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.MiscTests.WorkItemExecution #85009
243508 dotnet/runtime Workloads-Wasm.Build.Tests.Blazor.MiscTests.WorkItemExecution #80154

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 2 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-Build-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-failure

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions