Skip to content

Blazor WASM app fails to start on ASP.NET Core 10.0.0-preview4 and -preview5 #62423

Closed
@zotanmew

Description

@zotanmew

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

During regular net10 upgrade testing I discovered that our Blazor WASM application doesn't start successfully when referencing ASP.NET core dependencies of version 10.0.0-preview.4 or 10.0.0-preview.5, it still starts up perfectly normally on 10.0.0-preview.3.

We're depending on the following ASP.NET Core packages:

<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="Microsoft.Extensions.Localization" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="10.0.0-preview.4.25258.110" />

The error message encountered:

[MONO] /__w/1/s/src/runtime/src/mono/mono/metadata/custom-attrs.c:1987 <disabled>

Error: One or more errors occurred. (Could not resolve type with token 010000e9 from typeref (expected class 'Microsoft.Extensions.Logging.ProviderAliasAttribute' in assembly 'Microsoft.Extensions.Logging.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'))

.NET Version

10.0.100-preview.4.25258.110

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.Needs: ReproIndicates that the team needs a repro project to continue the investigation on this issuearea-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions