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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user