範例訊息
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.
Issue
當 $(BundleAssemblies) 為 時 true,無論選擇的執行時間為何,都會發出此警告。 這個物業不再影響建築。
解決方法
編輯你的專案檔案並移除該 $(BundleAssemblies) 屬性。
對於使用 Mono 且受支援的 .NET 10 與更早版本專案,$(AndroidUseAssemblyStore) 搭配 $(AndroidEnableAssemblyCompression) 可在需要時提供先前的行為。
對於 .NET 11 CoreCLR 專案,請勿新增替換屬性。 CoreCLR 會控制其封裝組件存放區的行為。