From ffffa2869fcbeaa4fddb4f915cc2695007d674f5 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 4 Jul 2026 05:02:12 +0900 Subject: [PATCH] fix: remove PublishReadyToRun flag for WASM compatibility Problem: - NETSDK1095: PublishReadyToRun not supported for WASM - WASM projects run in browser, not platform-specific runtime - ReadyToRun optimization only applies to native binaries Solution: - Remove -p:PublishReadyToRun=true - Keep -p:SelfContained=false for dependency handling - Host project (TaxBaik.Web) will be published without ReadyToRun - This is acceptable for ASP.NET Core deployment Co-Authored-By: Claude Haiku 4.5 --- .gitea/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d3ee111..231926a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: run: dotnet test src/TaxBaik.sln -c Release --no-build - name: Publish Web (auto-includes WASM from referenced TaxBaik.Web.Client) - run: dotnet publish src/TaxBaik.Web/ -c Release -o ./publish -p:PublishReadyToRun=true -p:SelfContained=false + run: dotnet publish src/TaxBaik.Web/ -c Release -o ./publish -p:SelfContained=false - name: Publish Proxy run: dotnet publish src/TaxBaik.Proxy/ -c Release -o ./publish/proxy