Skip to content

Issue with StaticWebAssets in Blazor WebAssembly Hosted on .NET 9.0ย #59466

Open
@Solbstr

Description

@Solbstr

I encountered a significant issue while building my Blazor WebAssembly Hosted project after migrating to .NET 9.0.101. The build fails with over 200 errors related to missing .gz assets. These errors indicate that .gz files are being searched for in the compressed folder, even though these files were not added or generated during the build process.

The errors are triggered by Microsoft.NET.Sdk.StaticWebAssets.Compression.targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions