.NET 11 Preview 7, Android 37.0.0-preview.7.2131
Pre-release
Pre-release
·
252 commits
to main
since this release
This release is not yet available from the Visual Studio installer. Download the .NET 11 Preview 7 SDK, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 37.0.0-preview.7.2131/11.0.100-preview.7 SDK 11.0.100-preview.7
What's Changed
- [installer] Suppress legacy XML doc warnings by @simonrozsival in #11724
- [build] Provision .NET SDK via standard scripts, drop xaprepare's installer by @jonathanpeppers in #11636
- $(AndroidPackVersionSuffix)=preview.7; main is .NET 11 preview 7 by @jonathanpeppers in #11725
- [xaprepare] Remove empty Scenario_AndroidTestDependencies and Scenario_EmulatorTestDependencies by @jonathanpeppers in #11731
- [xaprepare] Check in Ndk.projitems, remove generator by @jonathanpeppers in #11733
- Enable ManagedPeer native registration for LLVM typemap by @simonrozsival in #11735
- Add XML documentation to System.Linq.Extensions.ToEnumerable methods by @jonathanpeppers with @Copilot in #11742
- [xaprepare] Remove unused tool runners and helper classes by @jonathanpeppers in #11740
- [aw] Replace 3 always-noop nightly-fix-finder categories by @jonathanpeppers in #11739
- [build] Remove orphan .in templates from build-tools/scripts/ by @jonathanpeppers in #11737
- Tests: rename InstantRunTest to FastDevTest and drop duplicate by @jonathanpeppers in #11736
- [xaprepare] Remove redundant Configuration.Generated.props generation by @jonathanpeppers in #11732
- [Mono.Android] Add XML docs to KeyCharacterMap convenience overloads by @jonathanpeppers with @Copilot in #11746
- [tests] Verbose apkdiff output for BuildReleaseArm64 regressions by @simonrozsival in #11758
- Disable failing weak reference leak test by @simonrozsival in #11755
- [TrimmableTypeMap] Fix trimmable manifest generation parity by @simonrozsival in #11752
- [TrimmableTypeMap] Extract JavaMarshal registered peer tracking by @simonrozsival in #11750
- [ci] Android PR Reviewer: restrict to COMMENT events only by @jonathanpeppers in #11762
- [xaprepare] Move CMake file generation into a dedicated MSBuild project by @jonathanpeppers in #11760
- [androidsdk] Fix SDK extraction incrementality by @simonrozsival in #11756
- Bump com.android.application from 8.7.0 to 9.2.1 in /src/proguard-android by @dependabot[bot] in #11717
- Disable flaky incremental build timing test by @simonrozsival with @Copilot in #11793
- [tests] Fix CA1416 root cause in test projects instead of suppressing it by @simonrozsival in #11761
- [TrimmableTypeMap] Don't stage shrunk assemblies into the shared runtime pack on NativeAOT by @simonrozsival in #11791
- [TrimmableTypeMap] Keep user AndroidJavaSource Java under R8 shrinking by @simonrozsival in #11798
- [TrimmableTypeMap] Honor AndroidApplicationJavaClass for the JCW base and manifest by @simonrozsival in #11794
- Fix misleading XA4243 error when more than one JavaArtifact is specified by @jonathanpeppers with @Copilot in #11785
- [TrimmableTypeMap] Improve trimmable typemap build incrementality by @simonrozsival in #11764
- [TrimmableTypeMap] Fix inherited generic base typemap refs by @simonrozsival in #11749
- [TrimmableTypeMap] Generate the typemap before the NativeAOT inner build so the IDE Compile→Sign flow works by @simonrozsival in #11789
- [TrimmableTypeMap] Complete trimmable manifest generation parity by @simonrozsival in #11796
- [skills] Update CI status skill for public pipeline by @simonrozsival in #11670
- [TrimmableTypeMap] Use non-generic JavaPeerProxy base for interface proxies (NativeAOT) by @simonrozsival in #11769
- [TrimmableTypeMap] Add trimmable array proxy mapping by @simonrozsival in #11753
- [TrimmableTypeMap] Skip unresolvable trimmable typemap peers by @simonrozsival in #11751
- [Mono.AndroidTools] Enable nullable reference types in AdbSyncNotification.cs by @jonathanpeppers with @Copilot in #11778
- [xaprepare] Remove vestigial OS dependency provisioning by @jonathanpeppers in #11803
- [build] Add escalating backoff between download retry attempts by @simonrozsival in #11817
- [ci] Fail fast and retry transient failures on 'extract workload packs' by @simonrozsival with @Copilot in #11816
- [TrimmableTypeMap] Java.Interop bump and update to ValueManagers and TypeManagers by @simonrozsival in #11799
- Enable nullable reference types in AndroidDiskInformation.cs by @jonathanpeppers with @Copilot in #11813
- Fix flaky AllProjectsHaveSameOutputDirectory on Windows via delete-with-retry by @simonrozsival with @Copilot in #11807
- [gh-aw] Migrate workflows to Copilot PAT Pool by @vitek-karas in #11757
- Remove redundant null-forgiving operator in MamJsonParser.ReadClassRewrites by @jonathanpeppers with @Copilot in #11772
- Fix flaky
DebuggingTest.ApplicationRunsWithoutDebugger: increase activity-start timeout from 30s to 150s by @simonrozsival with @Copilot in #11811 - [xaprepare] Use Microsoft.SourceLink.GitHub instead of hand-rolled SourceLink.json by @jonathanpeppers in #11821
- Migrate nuget-msi-convert to v5.yml (WiX 6) by @jonathanpeppers in #11743
- [gh-aw] Bump gh-aw setup action to v0.81.6 across PAT pool workflows by @jonathanpeppers in #11823
- [ci] Retry on-device install, fail fast, diagnose failures, always capture logcat by @simonrozsival in #11831
- [FastDeploy] Retry first run-as query to absorb post-install data-dir race (XA0137) by @simonrozsival with @Copilot in #11809
- [ci] Free disk space before post-job cache save on public Linux agents by @simonrozsival in #11838
- Merge dotnet/java-interop into external/Java.Interop with full history by @jonathanpeppers in #11744
- [xaprepare] Move XABuildConfig generation to AndroidBuildConfig.dll by @jonathanpeppers in #11826
- [tests] Capture device state on device-test failure by @simonrozsival in #11832
- [xaprepare] Move cgmanifest.json generation from xaprepare to YAML by @jonathanpeppers in #11825
- Merge Java.Interop .github/ into dotnet/android after repo unification by @jonathanpeppers in #11942
- [external/Java.Interop] Remove standalone-repo scaffolding after merge by @jonathanpeppers in #11943
- [xaprepare] Delete redundant Windows JdkInfo.props generator by @jonathanpeppers in #11946
- [xaprepare] Remove BuildInfo / GitRunner.Blame orphans left by #11826 by @jonathanpeppers in #11945
- [external/Java.Interop] Drop nested xamarin-android-tools submodule by @jonathanpeppers in #11944
- [xaprepare] Move Configuration.OperatingSystem.props JDK values to JdkInfo.props by @jonathanpeppers in #11956
- Re-add a Mono Android test leg by @kotlarmilos in #11953
- Replace AssemblyStore compression algorithm LZ4 with Zstd by @simonrozsival with @Copilot in #11730
- [TrimmableTypeMap] Match n_* callback boolean/char to each binding's real signature by @simonrozsival in #11802
- [TrimmableTypeMap] Reflection-free TrimmableTypeMapType/ValueManager by @simonrozsival in #11801
- [docs] Reword terms flagged by PoliCheck by @jonathanpeppers in #11961
- [ci] Fix Java.Interop test lanes on internal 1ES pipeline by @jonathanpeppers in #11957
- [xaprepare] Delete Configuration.OperatingSystem.props generator and xaprepare project by @jonathanpeppers in #11959
- [TrimmableTypeMap] Fix trimmable primitive and alias arrays by @simonrozsival in #11985
- Fix build warnings in MSBuildDeviceIntegration project by @simonrozsival in #11980
- Fix build warnings in Xamarin.ProjectTools by @simonrozsival in #11978
- [tests] Improve trimmer warning diagnostics by @simonrozsival in #11981
- Fix build warnings in jnienv-gen project by @simonrozsival in #11977
- [tests] Re-enable AndroidMessageHandler ServerCertificateCustomValidationCallback tests by @simonrozsival in #11972
- [tests] Fail fast when the emulator package manager service is wedged by @simonrozsival in #11966
- [Microsoft.Android.Build.Tasks] Make AssemblyStore zstd compression level configurable by @simonrozsival in #11968
- [Xamarin.Android.Build.Tests] Fix build warnings by @simonrozsival in #11955
- Enable CoreCLR runtime pack for android-arm (armeabi-v7a) by @simonrozsival in #11172
- [tests] Stream on-device test results to MTP as they finish by @simonrozsival in #11833
- [Mono.Android] Root Mono.Android.Export from the [Export]/[ExportField] loader, not the attributes by @simonrozsival in #11804
- [Java.Interop] Keep transitive System.IO.Hashing out of tool output by @simonrozsival in #11969
- [TrimmableTypeMap] Remove InvokerType from JavaPeerProxy by @simonrozsival in #11971
- Add XML documentation to generic FragmentManager helper methods by @jonathanpeppers with @Copilot in #11963
- [Tests] Retry flaky InstallAndroidDependenciesTest download by @simonrozsival in #11974
- Fix XA0145 emulator boot-timeout message rendering literal placeholders by @jonathanpeppers with @Copilot in #11994
- Remove #region/#endregion directives from Android.Graphics.Color by @jonathanpeppers with @Copilot in #11976
- Fix misspelled MSBuild target in Turkish XA5207 localization by @jonathanpeppers with @Copilot in #11995
- [nullable] Enable nullable reference types in
ItemWithID.csby @jonathanpeppers with @Copilot in #11991 - [Mono.Android] Compile RuntimeFeature into a single assembly to avoid conflict warnings by @simonrozsival in #11669
- [TrimmableTypeMap] Bump WorkManager test's AndroidX to post-KMP-split versions by @simonrozsival in #12002
- Use AsyncTask-safe
LogDebugMessage()inAapt2LinkAssetPackby @jonathanpeppers with @Copilot in #11987 - [tests] Fix Xamarin.Android-Tests solution by @simonrozsival in #12009
- [TrimmableTypeMap] Merge library .aar manifests on the legacy merger path by @simonrozsival in #12000
- [build] Remove debugger-libs submodule by @simonrozsival in #12007
- [ci] Make Android SDK test setup downloads more resilient by @simonrozsival in #12001
- [ci] Make "Linux > Build" reruns recover from immutable-artifact collision by @simonrozsival in #11834
- [FastDeploy] Verify install with 'pm path' and diagnose disk space by @simonrozsival in #11960
- Use AsyncTask thread-safe logging in GetMicrosoftNuGetPackagesMap by @jonathanpeppers with @Copilot in #11948
- [ci] Fix macOS hosted image label on internal pipeline by @jonathanpeppers in #12005
- [CoreCLR] Remove native runtime linking p/invoke override by @simonrozsival in #12025
- [tests] Use blittable RegisterNatives in JNI callback tests by @simonrozsival in #12019
- Remove logcat-parse by @simonrozsival in #12028
- Use AsyncTask thread-safe logging helpers in MavenDownload by @jonathanpeppers with @Copilot in #12024
- [build] Exclude SourceLink runtime assets to pin System.IO.Hashing by @simonrozsival in #12034
- [tests] Disable flaky TryFindClass UTF-8 gref test by @simonrozsival in #12032
- [tests] Use local servers for networking tests by @simonrozsival in #12022
- Remove unused using directives from Aapt2.cs by @jonathanpeppers with @Copilot in #12043
- [TrimmableTypeMap] Emit empty stubs for trimmed per-assembly typemaps by @simonrozsival in #12045
- [TrimmableTypeMap][NativeAOT] Auto-detect and scan runtime-only assemblies (fixes stripped runtime ACWs) by @simonrozsival in #11982
- [TrimmableTypeMap] Generator correctness fixes by @simonrozsival in #11988
- [Mono.Android] Fix build warnings in hand-written code by @simonrozsival in #12003
- Enable android-arm NativeAOT runtime packs by @simonrozsival in #12029
- [Mono.Android] Handle JNI failures during CoreCLR GC bridge processing by @simonrozsival in #12041
- Remove null-forgiving operator (
!) inBaseTest.AssertApkSignedby @jonathanpeppers with @Copilot in #12036 - Remove
#regiondirectives fromAndroid.Runtime.XmlReaderPullParserby @jonathanpeppers with @Copilot in #12015 - [tests] Disable flaky UnregisterFromRuntime peer-count test by @simonrozsival in #12037
- [CoreCLR] Remove robin-map from p/invoke override by @simonrozsival in #12010
- [FastDev] Add faster FastDeploy2 by @simonrozsival in #11795
- Add XML documentation for TextWatcher event args by @jonathanpeppers with @Copilot in #12047
- [main] Bump Microsoft.CodeAnalysis.PublicApiAnalyzers to 5.6.0 by @jonathanpeppers in #12054
- [Mono.Android] Reduce JNI overhead in the CoreCLR GC bridge by @simonrozsival in #12040
- [main] Bump Microsoft.CodeAnalysis.BannedApiAnalyzers from 4.14.0 to 5.6.0 by @github-actions[bot] in #12053
- [templates] Update androidtest to MSTest 4.3.2 by @jonathanpeppers in #12052
- Merge dotnet/android-tools into external/xamarin-android-tools with full history by @jonathanpeppers in #11998
- [build] Restrict Maven authentication to mirror seeding by @jonathanpeppers in #12055
- [Mono.Android] Remove dead
ViewTreeObserver.csby @simonrozsival in #12056 - [build] Centralize Java.Interop Kotlin fixture repositories by @jonathanpeppers in #12095
- [Microsoft.Android.Build.BaseTasks] Guard LogCodedError overloads by @jonathanpeppers in #12093
- [TrimmableTypeMap][NativeAOT] Build plumbing fixes by @simonrozsival in #11989
- [CoreCLR] dlopen()-based assembly store loading by @simonrozsival in #12033
- [tests] Use local servers for remaining networking tests by @simonrozsival in #12099
- [ci] Use 1ES outputs for Android Tools logs by @jonathanpeppers in #12092
- [NativeAOT] Preserve IGCUserPeer methods through R8 by @simonrozsival in #12100
- Use a local HTTPS server in
SslTest.HttpsShouldWorkby @simonrozsival with @Copilot in #12058 - Expose Android package output items by @Redth in #11674
- [tests] Disable flaky InstallAndroidDependenciesTest by @simonrozsival in #12094
- Report missing Fast Deployment packages as XA0132 by @simonrozsival with @Copilot in #12060
- Remove unused
using System.Linqandusing System.Textfrom CallbackCode.cs by @jonathanpeppers with @Copilot in #12097 - Use AsyncTask thread-safe debug logging in LinkNativeRuntime by @jonathanpeppers with @Copilot in #12111
- [CoreCLR] Replace xxhash with crc32 by @simonrozsival in #12013
- [Mono.Android] Preserve HEAD requests on redirect in AndroidMessageHandler by @simonrozsival in #12102
- [ci] Add dnceng/internal pipeline by @jonathanpeppers in #12101
- Fix GridView.Adapter CA1416 false positive by @jonathanpeppers in #12109
- [Mono.Android] CoreCLR: file/line in stack traces with FastDev by @jonathanpeppers in #11702
- [TrimmableTypeMap] Add AOT-safe array and collection factories using MakeArrayType and MakeGenericType by @simonrozsival in #12030
- Clean up and normalize in-tree Android Tools by @jonathanpeppers in #12122
- [TrimmableTypeMap] Compile generated JCWs in place instead of copying to android/src by @simonrozsival in #12125
- [TrimmableTypeMap] Remove generated array proxy codegen and JavaPeerContainerFactory by @simonrozsival in #12126
- [build] Streamline BootstrapTasks and Prepare orchestration by @jonathanpeppers in #12061
- [runtime] Set CoreCLR crash report directory on Android by @jonathanpeppers in #12135
- [NativeAOT] Make the trimmable typemap the default by @simonrozsival in #12121
- [coreclr] Add crash report build property by @jonathanpeppers in #12136
- [CoreCLR] On-device decompressed AssemblyStore cache by @simonrozsival in #11967
- [xabt] Add common application artifact metadata by @Redth in #12123
- [tests] Skip .NET 10 NativeAOT compatibility coverage by @simonrozsival in #12157
- [ci] Avoid emulator locale restart by @jonathanpeppers in #12160
- [Native] Remove unused printf debugging helper by @simonrozsival in #12156
- [TrimmableTypeMap] Emit XA4212 for custom IJavaObject types on the trimmable path by @simonrozsival in #12132
- Remove the
managedtypemap implementation by @simonrozsival in #12134 - [Native] Add printf-style native logging by @simonrozsival in #12140
- [NativeAOT] Use POSIX primitives for GC bridge processing by @simonrozsival in #12141
- Add XML documentation to DatePickerDialog.UpdateDate(DateTime) by @jonathanpeppers with @Copilot in #12130
- [Java.Interop] Decouple built-in proxies from ManagedPeer by @simonrozsival in #12152
- [NativeAOT] Use indexed temporary peers in GC bridge by @simonrozsival in #12145
- [main] Bump System.IO.Hashing to 10.0.10 by @jonathanpeppers in #12163
- Resolve and refresh Android command-line tools by installed Pkg.Revision by @rmarinho in #12154
- [Native] Migrate timing logging to printf by @simonrozsival in #12153
- [CoreCLR/NativeAOT] Migrate JNI reference logging to printf by @simonrozsival in #12150
- [tools] Support current and legacy assembly stores by @simonrozsival in #12104
- [NativeAOT] Reduce owning C++ standard library state by @simonrozsival in #12142
- Remove unused using directives in CalculateLayoutCodeBehind.cs by @jonathanpeppers with @Copilot in #12175
- Remove stale TODO comment in LlvmIrModule.MapStructure by @jonathanpeppers with @Copilot in #12178
- [main] Bump System.CodeDom to 10.0.10 by @jonathanpeppers in #12185
- Add XML documentation to named Color properties in Android.Graphics.Color by @jonathanpeppers with @Copilot in #12171
- [ci] Add signing to the internal pipeline by @jonathanpeppers in #12158
- [Mono.Android] Abort in-flight body I/O on response dispose by @simonrozsival in #12105
- [NativeAOT] Preserve nested Java class names in trimmable ACW maps by @jonathanpeppers in #12187
- Fix PlatformTarget validation for RuntimeIdentifiers by @jonathanpeppers in #12188
- [tests] Fix startup logcat race in MonitorAdbLogcat by @jonathanpeppers in #12196
- Fix DotNetCLI async output drain race by @jonathanpeppers in #12194
- Remove redundant null-forgiving operator on
ctsin Program.cs by @jonathanpeppers with @Copilot in #12190 - [Native] Migrate configuration diagnostics to printf by @simonrozsival in #12155
- [docs] Update Android diagnostics tracing guidance by @jonathanpeppers in #12193
- [skills] Strengthen Java name conversion reviews by @jonathanpeppers in #12200
- [tests] Use dotnet-public for CI package resolution by @jonathanpeppers in #12198
- [build] Fix stabilized SDK workload manifest path by @jonathanpeppers in #12192
- [TrimmableTypeMap] SafeJavaCollectionFactory per-container construction by @simonrozsival in #12159
- Fix MarshalMethods startup logcat race in device test by @jonathanpeppers in #12195
- Enable Android dependency install test retries by @simonrozsival with @Copilot in #12059
- [tools] Replace APK utilities with skill file apps by @simonrozsival in #12108
- [ci] Run public pipeline nightly by @jonathanpeppers in #12209
- [CoreCLR] Track libxamarin-app.so as a _BuildApkFastDev input by @kotlarmilos in #12205
- [release/11.0.1xx-preview7] [CoreCLR] Stabilize Debug typemaps across C# rebuilds by @jonathanpeppers in #12260
New Contributors
- @vitek-karas made their first contribution in #11757
Full Changelog: 37.0.0-preview.6.59...37.0.0-preview.7.2131