From f3e44f8ddf92531182040f2acd19c0f7e539aeda Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Fri, 3 Jan 2025 10:29:40 +0330 Subject: [PATCH] add missing .net 9 assemblies to passive first boot mode of Bswup #9606 --- src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts index 69d71fb174..c40e4068e2 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts @@ -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);