Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Example messages
warning XA1040: The NativeAOT runtime on Android is an experimental feature and not yet suitable for production use. File issues at: https://github.com/dotnet/android/issues
Issue
NativeAOT is an experimental runtime option for .NET for Android. When you enable NativeAOT via $(PublishAot)=true, this warning is emitted to indicate that NativeAOT is not yet suitable for production use.
The supported runtimes are:
- CoreCLR (default)
- MonoVM, used via
$(UseMonoRuntime)=true
Solution
To silence this warning, you can either:
Use a supported runtime by removing
$(PublishAot)=truefrom your project file.Set
$(EnablePreviewFeatures)totruein your project file to acknowledge the experimental nature of NativeAOT.