[browser] Unify boot config schema and output layout#86255
[browser] Unify boot config schema and output layout#86255radical merged 89 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsUnify scheme between
|
…Schema # Conflicts: # src/mono/wasm/runtime/loader/blazor/_Integration.ts
# Conflicts: # src/mono/sample/wasm/browser-threads-minimal/main.js # src/tasks/WasmAppBuilder/WasmAppBuilder.cs
|
@ilonatommy can you please check the icu bits in |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
I tried to verify this with a |
ilonatommy
left a comment
There was a problem hiding this comment.
ICU related part looks good
|
@radical dotnet/performance is missing Do you have more feedback? |
This is handled for CI, and the docs for manual running need to be updated. |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
The fixes will take a little longer. They are blocked by other things, for example dotnet/BenchmarkDotNet#2346 . |
|
@maraf I've pushed a commit to add The reason the break shows up in this PR, and not on main is: - File.Copy(Path.Combine(AppContext.BaseDirectory,
- options.TargetFramework == "net8.0" ? "test-main.js" : "data/test-main-7.0.js"),
- Path.Combine(_projectDir, "test-main.js"));
+ File.Copy(
+ Path.Combine(
+ AppContext.BaseDirectory,
+ string.IsNullOrEmpty(options.TargetFramework) || options.TargetFramework == "net8.0"
+ ? "test-main.js"
+ : "data/test-main-7.0.js"
+ ),
+ Path.Combine(_projectDir, "test-main.js")
+ );In the In my upcoming PRs I will be moving most of the WBT tests away from |
Thank you for tracking it down! |
WasmAppBuilderto produce the same boot config schema asGenerateWasmBootJson_frameworkfolder.<WasmRuntimeAssetsLocation>property. The empty value is overriden to default_framework, but./can be used to flatten the output structure.AppBundlevswwwroootfolder name.JSHost.ImportAsyncnow requires the same relative paths as in blazor (./module.js=>../module.js)Contributes to #70762