.NET 11 Preview 6, Android 37.0.0-preview.6.59
Pre-release
Pre-release
This release is not yet available from the Visual Studio installer. Download the .NET 11 Preview 6 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.6.59/11.0.100-preview.6 SDK 11.0.100-preview.6
What's Changed
- $(AndroidPackVersionSuffix)=preview.6; main is .NET 11 preview 6 by @jonathanpeppers in #11519
- Drop global Instance of JavaMarshalValueManager by @simonrozsival in #11524
- [TrimmableTypeMap] Improve trimmable typemap framework roots by @simonrozsival in #11498
- [TrimmableTypeMap] Generate NativeAOT ProGuard rules from DGML by @simonrozsival in #11449
- [tests] Fix UrlEscaping_Bug43411 to actually run and assert correctly by @jonathanpeppers in #11523
- [ci] Scope Dependabot NuGet scanning to stable-SDK directories by @jonathanpeppers in #11522
- Enable nullable reference types in
GenerateNativeAotEnvironmentAssemblerSources.csby @jonathanpeppers with @Copilot in #11546 - ci: declare least-privilege workflow-level contents: read by @arpitjain099 in #11544
- [build] Move Android SDK + NDK component downloads from xaprepare to MSBuild by @jonathanpeppers in #11440
- Sync SystemNative pinvoke tables with dotnet/runtime by @jonathanpeppers in #11531
- [Xamarin.Android.Build.Tasks] Fix _CreateAar race under parallel build by @jonathanpeppers in #11527
- [TrimmableTypeMap] Fix trimmable typemap single-RID release builds by @simonrozsival in #11499
- [ci] Target NuGet Dependabot updates at release/10.0.1xx by @jonathanpeppers in #11555
- Fix AndroidMessageHandler response body cancellation by @simonrozsival in #11554
- Use Properties.Resources.XA0140 instead of hardcoded string in GetAssetPacks.cs by @jonathanpeppers with @Copilot in #11565
- [CoreCLR] Stop serving BCL p/invokes from the precompiled override by @simonrozsival in #11537
- Track Microsoft.DotNet.Arcade.Sdk dependency to flow eng/common by @jonathanpeppers in #11556
- Replace Step_CopyExtraResultFilesForCI with a YAML template by @jonathanpeppers in #11568
- [build] android-platform-support repo consolidation by @jonathanpeppers in #11529
- Move hardcoded error string in PrepareAbiItems.cs to Resources.resx by @jonathanpeppers with @Copilot in #11574
- Add XML documentation to
Android.Graphics.ColorARGB component properties by @jonathanpeppers with @Copilot in #11582 - [build] Remove unused bin/configuration.mk by @jonathanpeppers in #11580
- [tests] Remove always-true AssertCommercialBuild() / CommercialBuildAvailable by @jonathanpeppers in #11577
- [build] Drop always-true _HasCommercialFiles / _AndroidFastDeploymentSupported gates by @jonathanpeppers in #11576
- [build] Drop unused protobuf-net references from Mono.AndroidTools by @jonathanpeppers in #11592
- Enable nullable reference types in
DetectIfAppWasUninstalled.csby @jonathanpeppers with @Copilot in #11599 - Remove obsolete misspelled
IncompatibleCpuAbiExceptiopnclass and dead code references by @jonathanpeppers with @Copilot in #11597 - Move hardcoded IL6001 warning string to Resources.resx by @jonathanpeppers with @Copilot in #11594
- Fix _AfterILLinkAdditionalSteps breaking IlcCompile incrementalism by @sbomer in #11509
- [build] Check in Mono.Android.Apis.projitems, remove generator by @jonathanpeppers in #11608
- [Xamarin.AndroidTools] Remove dead VS Mac / legacy code by @jonathanpeppers in #11607
- [ci] Make dnceng-public the default PR pipeline; disable PR triggers on DevDiv pipeline by @jonathanpeppers in #11578
- Bump
$(AndroidPackVersion)to 37.0.0 by @jonathanpeppers in #11611 - [tests] Improve DoNotLeakWeakReferences reliability by @jonathanpeppers in #11615
- [tests] Use Android.Util.Log in JnienvTest.ThreadReuse callback by @jonathanpeppers in #11614
- [ci] Cache Android toolchain downloads + bump
DownloadFileretries by @jonathanpeppers in #11618 - [cleanup] Delete unused public types from inlined platform-support projects by @jonathanpeppers in #11612
- Enable nullable reference types in
ExecutionConfiguration.csby @jonathanpeppers with @Copilot in #11621 - Dogfood
dotnet testfor Mono.Android device tests by @jonathanpeppers in #11224 - [build] Remove Step_PrepareProps; fold values into eng/Versions.props by @jonathanpeppers in #11613
- Remove obsolete
AndroidToolsPathpragma suppressions inAndroidSdk.csby @jonathanpeppers with @Copilot in #11628 - [build] Remove omnisharp.json generation from xaprepare by @jonathanpeppers in #11631
- Add XML documentation to
Android.Util.Logconvenience overloads by @jonathanpeppers with @Copilot in #11638 - Bump gh-aw from v0.74.8 to v0.79.6 by @jonathanpeppers in #11645
- [ci] Update agentic workflows to claude-opus-4.8 by @jonathanpeppers in #11646
- [build] Add shared DownloadFileWithRetry target and use it for SDK downloads by @jonathanpeppers in #11647
- [TrimmableTypeMap] Add trimmable DotNetRun cases by @simonrozsival in #11486
- Use Properties.Resources.XA0002 instead of hardcoded string in GetMonoPlatformJar by @jonathanpeppers with @Copilot in #11651
- Add XML documentation to Android.Graphics.Color static component-accessor methods by @jonathanpeppers with @Copilot in #11649
- [Tests] Remove dead GetInnerHandlerType helper by @simonrozsival in #11665
- [Xamarin.Android.Build.Tasks] Remove dead InstantRun leftovers by @jonathanpeppers in #11656
- [Mono.Android] Remove dead Java.Interop.__TypeRegistrations plumbing by @simonrozsival in #11667
- [gh-aw] disable AI-credit guardrails (max-daily / max-ai) by @jonathanpeppers in #11659
- Remove stale commented-out input-size-limit code in AssemblyCompression.cs by @jonathanpeppers with @Copilot in #11677
- [Tests] Enable SubscribeToAppDomainUnhandledException on CoreCLR by @jonathanpeppers in #11673
- Bump MSTest to 4.2.3 in androidtest template by @jonathanpeppers in #11675
- [skills] Update tests skill for MTP device tests + docs by @simonrozsival in #11680
- [gh-aw] Eliminate magic GH_AW_* secret references from lock files by @jonathanpeppers in #11685
- Remove legacy projects importing Xamarin.Android.CSharp.targets by @jonathanpeppers in #11684
- Add backport workflow for cherry-picking PRs to release branches by @jonathanpeppers in #11691
- [build] skip DownloadOneFileWithRetry on no-op builds by @jonathanpeppers in #11693
- [build] Fix
tools//<file>paths in Microsoft.Android.Sdk pack by @jonathanpeppers in #11689 - Enable nullable reference types in JdkPackage.cs by @jonathanpeppers with @Copilot in #11687
- [Xamarin.Android.Build.Tasks] warn XA0149 on legacy
__AndroidEnvironment__resources by @jonathanpeppers in #11700 - [ci] Fix network isolation requirements by @dalexsoto in #11701
- [ci] Move hosted Mac agents to macOS-15 by @jonathanpeppers in #11708
- Surface HttpRequestException from AndroidMessageHandler by @jonathanpeppers with @Copilot in #11682
- [native] Skip cmake reconfigure on no-op builds by @jonathanpeppers in #11704
- [Xamarin.Android.Build.Tasks] Skip library proguard.txt with disallowed global options by @jonathanpeppers in #11709
- [Dependabot] Cover /src/proguard-android in gradle updates by @jonathanpeppers in #11710
- [Mono.Android.Export] Enable nullable reference types and remove MONOTOUCH guard in CodeWhen.cs by @jonathanpeppers with @Copilot in #11695
- [mobile] .NET 11 mobile runtime configuration updates by @kotlarmilos in #11632
- Map cancelled request body uploads to OperationCanceledException in AndroidMessageHandler by @jonathanpeppers with @Copilot in #11683
- Fix Android SDK installer build warnings by @simonrozsival in #11720
- Fix SolutionBuilder nullability warnings by @simonrozsival in #11722
- Enable nullable reference types in WaitForAppDetection.cs by @jonathanpeppers with @Copilot in #11713
- Centralize Gradle Maven repositories via shared eng/gradle/repositories.gradle by @jonathanpeppers in #11711
- [release/11.0.1xx-preview6] Enable ManagedPeer native registration for LLVM typemap by @github-actions[bot] in #11805
- [release/11.0.1xx-preview6] [androidsdk] Fix SDK extraction incrementality by @github-actions[bot] in #11824
New Contributors
- @arpitjain099 made their first contribution in #11544
Full Changelog: 36.99.0-preview.5.308...37.0.0-preview.6.59