Android용 .NET 경고 XA1035

예제 메시지

warning XA1035: The 'BundleAssemblies' property is deprecated and no longer affects the build. Remove it. For supported .NET 10-and-earlier Mono projects, use 'AndroidUseAssemblyStore' with 'AndroidEnableAssemblyCompression' for the former behavior. .NET 11 CoreCLR controls packaged assembly-store behavior and needs no replacement setting.

문제

이 경고는 선택한 런타임에 관계없이 언제 $(BundleAssemblies)true든 내보내집니다. 이 속성은 더 이상 빌드에 영향을 주지 않습니다.

해결 방법

프로젝트 파일을 편집하고 속성을 제거합니다 $(BundleAssemblies) .

Mono를 사용하는 지원되는 .NET 10 이하 프로젝트의 경우, $(AndroidUseAssemblyStore)를 $(AndroidEnableAssemblyCompression)와 함께 사용하면 필요한 경우 기존 동작을 제공합니다.

.NET 11개 CoreCLR 프로젝트의 경우 대체 속성을 추가하지 마세요. CoreCLR은 패키지된 어셈블리 저장소 동작을 제어합니다.