Skip to content

Commit

Permalink
add missing .net 9 assemblies to passive first boot mode of Bswup #9606
Browse files Browse the repository at this point in the history
  • Loading branch information
msynk committed Jan 3, 2025
1 parent 2eb39bb commit f3e44f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,11 @@ async function createAssetsCache(ignoreProgressReport = false) {
.concat(Object.keys(blazorBootJson.resources.runtime || {})) // before .NET 8
.concat(Object.keys(blazorBootJson.resources.jsModuleNative || {})) // after .NET 8
.concat(Object.keys(blazorBootJson.resources.jsModuleRuntime || {}))
.concat(Object.keys(blazorBootJson.resources.wasmNative || {}));
.concat(Object.keys(blazorBootJson.resources.wasmNative || {}))
.concat(Object.keys(blazorBootJson.resources.coreAssembly || {})) // after .NET 9
.concat(Object.keys(blazorBootJson.resources.icu || {}))
.concat(Object.keys(blazorBootJson.resources.jsModuleGlobalization || {}))
;
const blazorAssets = blazorResources.map(r => UNIQUE_ASSETS.find(a => a.url.endsWith(`/${r}`))).filter(a => !!a);

diag('blazorBootAsset:', blazorBootAsset);
Expand Down

0 comments on commit f3e44f8

Please sign in to comment.