Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix breaking change when using lazy loading with webcil #100292

Closed
danroth27 opened this issue Mar 25, 2024 · 1 comment
Closed

Fix breaking change when using lazy loading with webcil #100292

danroth27 opened this issue Mar 25, 2024 · 1 comment
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@danroth27
Copy link
Member

danroth27 commented Mar 25, 2024

When using lazy loading in a Blazor WebAssembly app you have to specify which assemblies you want to lazy load using the BlazorWebAssemblyLazyLoad item group. Prior to .NET 8 you would specify the assembly name with the .dll file name extension. In .NET 8 we introduced webcil packaging, which caused an unannounced breaking change in lazy loading to require you to specify the .wasm extension instead, which has impacted users trying to upgrade.

We should consider fixing this breaking change by continuing to support the earlier .dll file names in addition to the .wasm file names and have the framework handle mapping the .dll file names appropriately.

@lewing lewing transferred this issue from dotnet/aspnetcore Mar 26, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 26, 2024
@maraf maraf self-assigned this Mar 27, 2024
@maraf maraf added arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm and removed area-AssemblyLoader-coreclr untriaged New issue has not been triaged by the area owner labels Mar 27, 2024
@maraf maraf added this to the 9.0.0 milestone Mar 27, 2024
@maraf
Copy link
Member

maraf commented Mar 28, 2024

We are already tracking it in #94132

@maraf maraf closed this as completed Mar 28, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm
Projects
Archived in project
Development

No branches or pull requests

2 participants