.NET 10 Preview 1, Android 35.99.0-preview.1.140
Pre-release
Pre-release
·
78 commits
to main
since this release
How to install?
This release is not yet available from the Visual Studio installer. Download the .NET 10 Preview 1 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 35.99.0-preview.1.140/10.0.100-preview.1 SDK 10.0.100-preview.1
TLDR
For a short list of Android features in .NET 10, see:
What's Changed
- $(AndroidPackVersionSuffix)=preview.1; main is 35.99.x by @jonathanpeppers in #9444
- Bump to dotnet/android-tools@60fae192 by @jonpryor in #9445
- Add retry ability to RemoveDirFixed by @dellis1972 in #9409
- [Xamarin.Android.Build.Tasks] fix $DOTNET_MODIFIABLE_ASSEMBLIES when FastDev is off by @jonathanpeppers in #9451
- [native, Mono.Android] Remove WeakReference support by @jonpryor in #9454
- Simplify and fix split configs detection by @grendello in #9378
- [native] Switch C++ standard to C++23 by @grendello in #9325
- [Xamarin.Android.Build.Tasks] fix Debug mode and $(PublishTrimmed) by @jonathanpeppers in #9452
- [build] fix missing
darc-pub-dotnet-android-*
feed for MAUI by @jonathanpeppers in #9468 - [Xamarin.Android.Build.Tasks] make designer MSBuild targets a no-op by @jonathanpeppers in #9473
- [docs] Sync docs with dotnet/docs-mobile@9ccd7291 by @pjcollins in #9474
- [Xamarin.Android.sln] Remove
Java.Interop.NamingCustomAttributes.shproj
. by @jpobst in #9488 - Add Code DiagnosticAnalyzer and CodeFixProvider for Custom Application classes by @dellis1972 in #9447
- Bump to xamarin/monodroid@6b275284 by @pjcollins in #9494
- [Build.Tasks] Better handle gradle project custom output paths by @pjcollins in #9480
- [native, Mono.Android] GC bridge logging improvements by @jonpryor in #9491
- [ci] Upgrade on-prem macOS pool to macOS-14 Sonoma by @pjcollins in #9477
- Bump to dotnet/java-interop@24404162 by @jonpryor in #9498
- [build] use
javac -source 17 -target 17
by @jonathanpeppers in #9493 - [Mono.Android] remove
Xamarin.Android.VSAndroidDesigner.IsSupported
feature switch by @jonathanpeppers in #9471 - Bump NDK to r27c by @grendello in #9466
- [Xamarin.Android.Build.Tasks] add missing
Condition
inAutoImport.props
by @jonathanpeppers in #9463 - AndroidPackagingOptionsInclude is ignored by @dellis1972 in #9524
- [Xamarin.Android.Build.Tasks] fix NRT warnings & other warnings by @jonathanpeppers in #9483
- Enable
DefaultValueAttributeSupport
in partial trim mode. by @matouskozak in #9525 - Bump com.android.tools.build:manifest-merger from 30.3.1 to 31.7.2 by @jonathanpeppers in #9528
- [Xamarin.Android.Build.Tasks] redistribute
proguard-android.txt
from Android gradle plugin by @jonathanpeppers in #9485 - [ci] Use new DevDiv/android-platform-support repo by @pjcollins in #9366
- [Xamarin.Android.Build.Tasks] close
XAAssemblyResolvers
by @jonathanpeppers in #9531 - [Xamarin.Android.Build.Tasks] Invokers after abstracts in typemaps by @jonpryor in #9545
- [build] Update stable .NET to 9. by @jpobst in #9543
- Bump to DevDiv/android-platform-support@c22e8651 by @pjcollins in #9541
- Fix unmangling of satellite assembly names by @grendello in #9533
- Add $(IncrementalCleanDependsOn) property tip by @jzabroski in #9552
- Enable marshal methods by default by @grendello in #9551
- Remove the AndroidUseAapt2 MSBuild property by @dellis1972 in #9506
- [build] produce multiple "flavors" of runtime packs by @jonathanpeppers in #9538
- [XABT] Add
ArtifactFilename
metadata for@(AndroidMavenLibrary)
item. by @jpobst in #9479 - Add Unit Tests for Code Analyzers by @dellis1972 in #9492
- Add check for java reserved works in AndroidResource items by @dellis1972 in #9537
- [Xamarin.Android.Build.Tasks] fix incremental builds for
_GenerateAndroidRemapNativeCode
by @jonathanpeppers in #9548 - [tests] Add apkdiff output to test attachment file by @pjcollins in #9560
- [Xamarin.Android.Build.Tasks] implement
dotnet run
with an MSBuild target by @jonathanpeppers in #9470 - [Mono.Android] Update API compatibility checks to .NET 9 RTM. by @jpobst in #9570
- Bump to DevDiv/android-platform-support@52dd010a by @pjcollins in #9553
- Test dependabot max_length param by @pjcollins in #9529
- [ci] Skip JDK install if near match is found in $(JI_JAVA_HOME) by @pjcollins in #9585
- Add android-platform-support to .gitignore by @dellis1972 in #9590
- More C++ tweaks and changes by @grendello in #9478
- Bump .NET 8 SDK to a8cd27e 34.0.147 by @pjcollins in #9591
- Fix AndroidResource Incremental build issue by @dellis1972 in #9592
- Bump com.android.tools.build:manifest-merger in /src/manifestmerger by @jonathanpeppers in #9600
- [build] runtime "flavors" part 2 by @jonathanpeppers in #9598
- [build] remove
Xamarin.Android.CSharp.targets
by @jonathanpeppers in #9609 - [build] remove remnants of
OpenTK-1.0.dll
by @jonathanpeppers in #9610 - [NativeAOT] MSBuild-related logic to get projects to build by @jonathanpeppers in #9583
- [XABT] Split
BuildArchive
fromBuildApk
task. by @jpobst in #9556 - [Mono.Android] Bind Android API-36 DP1. by @jpobst in #9594
- [XABT] Break BuildApk into individual tasks for each content type. by @jpobst in #9612
- [monodroid] remove
_monodroid_get_identity_hash_code
by @jonathanpeppers in #9622 - [monodroid] remove
monodroid_get_log_categories()
by @jonathanpeppers in #9625 - [build] Generate
workload-dependencies.json
by @jonpryor in #9613 - [NativeAOT] improve build logic, part 1 by @jonathanpeppers in #9614
- Bump to dotnet/java-interop@2c06b3c2 by @jonpryor in #9633
- [NativeAOT] improve build logic, part 2 by @jonathanpeppers in #9631
- Bump to DevDiv/android-platform-support@3b4e16f1 by @pjcollins in #9632
- [CI] Break "Package Tests" into 2 parallel jobs. by @jpobst in #9638
- [CI] Set "WearOS Tests" parallelization to 2 agents. by @jpobst in #9639
- Fix WorkloadDependencies.proj build. by @dellis1972 in #9648
- [CI] Break "Linux Tests" into 2 parallel jobs. by @jpobst in #9642
- [build+macOS] Remove quarantine from OpenJDK installations by @jonpryor in #9652
- [Mono.Android] Bind Android 16 DP2. by @jpobst in #9653
- [java-runtime] simplify
mono.MonoPackageManager.LoadApplication()
by @jonathanpeppers in #9655 - [Mono.Android] Generate API docs for API level 35 by @pjcollins in #9647
- Remove call to CollectAssemblyFilesForArchive for Fast Deployment. by @dellis1972 in #9650
- Bump to dotnet/java-interop@ee47652d by @jonpryor in #9659
- Add NugetPackageId Metadata to TaskItems by @dellis1972 in #9559
- Add
$(Nullable)
=annotations
to projects using NRT annotations without NRT enabled. by @jpobst in #9660 - [ci] Fail build if any git tracked files were modified. by @jpobst in #9661
- Use libc++ by @grendello in #9558
- Update Unit tests to use the 'TestName' property by @dellis1972 in #9664
- [templates] Default
$(SupportedOSPlatformVersion)
to24
. by @jpobst in #9656 - [build] Support JDK-21 by @jonpryor in #9672
- Bump to dotnet/android-api-docs@492e524d by @pjcollins in #9668
- Bump com.android.tools:r8 from 8.5.35 to 8.7.18 in /src/r8 by @dependabot in #9677
- Bump com.android.tools.build:manifest-merger from 31.7.3 to 31.8.0 in /src/manifestmerger by @dependabot in #9678
- [ci] Add template for setting *JAVA_HOME vars by @pjcollins in #9671
- Fix Analyser to work with global types by @dellis1972 in #9680
- Bump to NuGet/NuGet.Client@aa7eb998 by @jonpryor in #9682
- [illink] consolidate & remove hardcoded assembly names by @jonathanpeppers in #9662
- [ci] Run Mac MSBuild tests on
macos-14-arm64
by @jpobst in #9665 - [build] Build with Microsoft OpenJDK 21.0.5 by @pjcollins in #9683
- [Mono.Android-Tests] Ignore "BadGateway" test failures. by @jpobst in #9687
- [Mono.Android] Java.Interop Unification! by @jonpryor in #9640
- [Xamarin.Android.Build.Tasks] introduce
$(_AndroidRuntime)
property by @jonathanpeppers in #9686 - [CI] Grab 'dotnet-install.sh' script directly from GitHub. by @jpobst in #9699
- Add activity-alias support by @dellis1972 in #9654
- [XABT] Create separate assembly preparation tasks. by @jpobst in #9637
- [NativeAOT] add sample that runs successfully by @jonathanpeppers in #9636
- Rework Design Time Build to use .aar files directly. by @dellis1972 in #9700
- [build] fix
MAUI Integration
lane by @jonathanpeppers in #9670 - Bump to android-platform-support@49c6c866 by @pjcollins in #9702
- [XABT] Use ZipArchive to build APKs. by @jpobst in #9623
- [XABT] Fix
ApplicationAttribute.ManageSpaceActivity
manual mapping by @jpobst in #9708 - Set
$(TreatWarningsAsErrors)
=true
for CI builds. by @jpobst in #9689 - Fix an bug in the Design Time Build by @dellis1972 in #9711
- [ci] Remove test environment PATH additions by @pjcollins in #9712
- [nativeaot] fix project builds on Windows by @jonathanpeppers in #9710
- [Mono.Android] Bind Android 16 Beta 1. by @jpobst in #9707
- Set default for UseSizeOptimizedLinq by @MichalStrehovsky in #9718
- [build] remove unused Xamarin.Android files by @jonathanpeppers in #9719
- Bump to dotnet/java-interop@e288589d by @jonpryor in #9721
New Contributors
- @Youssef1313 made their first contribution in #8423
- @rachelkang made their first contribution in #8913
- @vcsjones made their first contribution in #9044
- @matouskozak made their first contribution in #9525
- @jzabroski made their first contribution in #9552
- @MichalStrehovsky made their first contribution in #9718
Full Changelog: 34.0.148...35.99.0-preview.1.140