Skip to content

.NET 10 SupportΒ #986

@jonpryor

Description

@jonpryor

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::

Why is this needed? πŸ€”

.NET 10 support.

Renderer 🎨

  • Skia
  • Native

For which platforms πŸ“±πŸ’»πŸ–₯️

WebAssembly

Anything else we need to know? πŸ’¬

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions