-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
What would you like to be added? π‘
Context: unoplatform/uno#19934
Context: unoplatform/uno#21140
When trying to get unoplatform/uno building and running atop .NET 10, the Tests - WebAssembly Skia tests are failing because they want blazor.boot.json
:
[7347:7347:0725/172242.291270:INFO:CONSOLE:4] "MONO_WASM: Failed to load config file blazor.boot.json SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Error: Failed to load config file blazor.boot.json SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at xe (http://localhost:8000/_framework/dotnet.js:4:21471)
at async http://localhost:8000/_framework/dotnet.js:4:31096
at async Bootstrapper.bootstrap ([http://localhost:8000/package_cad083c022126debd2f8488f4d32c39d75cb8f7b/uno-bootstrap.js:159:47)",](http://localhost:8000/package_cad083c022126debd2f8488f4d32c39d75cb8f7b/uno-bootstrap.js:159:47)%22,) source: http://localhost:8000/_framework/dotnet.js (4)
blazor.boot.json
is no longer generated in .NET 10; see also: dotnet/aspnetcore#59456
At minimum, all places which reference blazor.boot.json
will need to be updated, including but not limited to::
console.error('[ServiceWorker] Error processing blazor.boot.json:', e.message); * Typically blazor.boot.json if (await GetFile(http, new(_siteUri, "_framework/blazor.boot.json")) is { } frameworkFile) else if (await GetFile(http, new(_siteUri, "blazor.boot.json")) is { } baseFile)
Why is this needed? π€
.NET 10 support.
Renderer π¨
- Skia
- Native
For which platforms π±π»π₯οΈ
WebAssembly
Anything else we need to know? π¬
No response