Skip to content

WasmBootConfigFileName doesn't work with WasmAppBuilder without additional configuration #117900

@JakeYallop

Description

@JakeYallop

I recently upgraded a project to .NET 10 preview 4. As part of this, I set WasmBootConfigFileName to dotnet.boot.json, as I needed the json version of the boot config, rather than the now default dotnet.boot.js.

However, despite WasmBootConfigFileName correctly generating a dotnet.boot.json file on publish in the AppBundle directory, the bundled dotnet.js still attempts to load from dotnet.boot.js by default.

The easy way to work around this is to set configSrc to dotnet.boot.json, however I found this behaviour a bit surprising. Is this the intended pattern for using this msbuild property, or are there any plans to smooth out this behaviour?

Metadata

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-Build-mononeeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationquestionAnswer questions and provide assistance, not an issue with source code or documentation.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions