Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xamarin.Android.Build.Tasks] emit XA1040 for experimental runtimes #9834

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonathanpeppers
Copy link
Member

MonoVM is currently the default (and supported!) runtime for .NET for Android. Emit XA1040 when the user opts into using the experimental runtimes, such as:

  • $(UseMonoRuntime)=false CoreCLR
  • $(PublishAot)=true NativeAOT

If desired, you can opt out of the warning completely with $(AndroidAllowExperimentalRuntime)=true, or use existing MSBuild mechanisms to suppress it.

MonoVM is currently the default (and supported!) runtime for .NET for
Android. Emit `XA1040` when the user opts into using the experimental
runtimes, such as:

* `$(UseMonoRuntime)=false` CoreCLR
* `$(PublishAot)=true` NativeAOT

If desired, you can opt out of the warning completely with
`$(AndroidAllowExperimentalRuntime)=true`, or use existing MSBuild
mechanisms to suppress it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants