android CI 잡 MSB3030 수정: CLI 전역 -p:RuntimeIdentifiers=android-arm64 가 참조 프로젝트(net8.0 Mobile.Core)까지 전파돼 RID 경로 dll 을 못 찾던 결함(구 GitHub 스캐폴드에 잠재, 첫 실행에서 실증). Mobile csproj 에 CiPackArm64Only 게이트 조건부 RuntimeIdentifiers 로 이전 — 로컬 동일 명령 재현: exit 0, arm64-v8a 단독 23.3MB APK 확인

This commit is contained in:
Yun Chan 2026-08-17 23:30:11 +09:00
parent b05e8bf009
commit d98c73451f
2 changed files with 7 additions and 1 deletions

View file

@ -5,6 +5,10 @@
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">net10.0-android;net10.0-ios</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('OSX'))">net10.0-android</TargetFrameworks>
<!-- CI 배포 APK 는 arm64 단독(실기기 표준). CLI 전역 -p:RuntimeIdentifiers 는 참조 프로젝트
(net8.0 Mobile.Core)까지 전파돼 MSB3030 으로 깨지므로, 게이트 속성을 받아 여기서만 좁힌다. -->
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' and '$(CiPackArm64Only)' == 'true'">android-arm64</RuntimeIdentifiers>
<!-- Note for MacCatalyst:
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.