dotnet / android

.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
MIT License
1.89k stars 523 forks source link

[build] Add option to skip Mono MDK provisioning #8993

Closed pjcollins closed 3 weeks ago

pjcollins commented 3 weeks ago

The mono related CLI parameters for xaprepare have been updated to make it possible to skip installation of the Mono MDK via the following:

make prepare-update-mono PREPARE_AUTOPROVISION=1 PREPARE_AUTOPROVISION_SKIP_MONO=1
make prepare PREPARE_AUTOPROVISION=1 PREPARE_AUTOPROVISION_SKIP_MONO=1

Unused ignore-*-mono-version= parameters have been removed and replaced with their default values.

Build warnings in the project have also been fixed on macOS.

pjcollins commented 3 weeks ago

My only thought, is do we need the MDK provisioning at all?

I do think we should try to remove it in a future PR, and these changes could let us test jobs one by one on machines where it is not already installed.