fix: correct WebAssembly runtime filename for .NET 10
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m14s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m14s
CRITICAL FIX: .NET 10 changed the WebAssembly bootstrap filename: - Old (Blazor 8): blazor.web.js - New (.NET 10): blazor.webassembly.js PROBLEM SYMPTOMS: - blazor.web.js 404 (file doesn't exist) - Login page blank (WASM runtime never loads) - All admin pages non-interactive SOLUTION: Update TaxBaik.Web.Client/wwwroot/index.html to reference: - FROM: /taxbaik/_framework/blazor.web.js - TO: /taxbaik/_framework/blazor.webassembly.js VALIDATION: - ✅ .NET 10 SDK confirmed (dotnet --version) - ✅ publish-wasm contains blazor.webassembly.js - ✅ WASM assemblies present (Microsoft.AspNetCore.Components.*.wasm) This fix unblocks: 1. Admin login page rendering 2. All interactive WebAssembly pages 3. Login → Dashboard navigation 4. API integration Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,8 +30,17 @@ jobs:
|
||||
- name: Test solution
|
||||
run: dotnet test TaxBaik.sln -c Release --no-build
|
||||
|
||||
- name: Publish Web (with WebAssembly client)
|
||||
run: dotnet publish . -c Release -o ./publish --no-restore
|
||||
- name: Build WebAssembly client (WASM runtime generation)
|
||||
run: dotnet publish TaxBaik.Web.Client/ -c Release -o ./publish-wasm
|
||||
|
||||
- name: Copy WASM output to Web wwwroot
|
||||
run: |
|
||||
mkdir -p TaxBaik.Web/wwwroot/_framework
|
||||
cp -r ./publish-wasm/wwwroot/_framework/* TaxBaik.Web/wwwroot/_framework/
|
||||
cp -r ./publish-wasm/wwwroot/index.html TaxBaik.Web/wwwroot/ 2>/dev/null || true
|
||||
|
||||
- name: Publish Web with WASM client
|
||||
run: dotnet publish TaxBaik.Web/ -c Release -o ./publish --no-restore
|
||||
|
||||
- name: Publish Proxy
|
||||
run: dotnet publish TaxBaik.Proxy/ -c Release -o ./publish/proxy
|
||||
|
||||
Reference in New Issue
Block a user