Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Documentation/docs-mobile/messages/xa0119.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Remove the following options from `Debug` configurations:
* `<AndroidLinkMode>Full</AndroidLinkMode>`
* AOT
* `<AotAssemblies>True</AotAssemblies>`
* ReadyToRun
* `<PublishReadyToRun>True</PublishReadyToRun>`
* Code Shrinker
* `<AndroidEnableProguard>True</AndroidEnableProguard>`
* `<EnableProguard>True</EnableProguard>`
Expand All @@ -43,6 +45,7 @@ Remove the following from `Release` configurations:

* `<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>`
* `<AotAssemblies>True</AotAssemblies>` or in .NET 6 `<RunAOTCompilation>True</RunAOTCompilation>`
* `<PublishReadyToRun>True</PublishReadyToRun>` (for CoreCLR)

Consider submitting a [bug][bug] if you are getting one of these
warnings under normal circumstances.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/Xamarin.Android.Build.Tasks/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ The term "lock file" comes from NuGet. For example, search for "UnauthorizedLock
<value>Disabling the interpreter; using the interpreter and AOT at the same time is not supported. Use the interpreter for hot reload support in Debug configurations and AOT for Release configurations.</value>
<comment>The following are literal names and should not be translated: AOT, Debug, Release.</comment>
</data>
<data name="XA0119_ReadyToRun" xml:space="preserve">
<value>Using fast deployment and ReadyToRun at the same time is not recommended. Use fast deployment for Debug configurations and ReadyToRun for Release configurations.</value>
<comment>The following are literal names and should not be translated: ReadyToRun, Debug, Release.</comment>
</data>
<data name="XA0121" xml:space="preserve">
<value>Assembly '{0}' is using '[assembly: {1}]', which is no longer supported. Use a newer version of this NuGet package or notify the library author.</value>
<comment>The following are literal names and should not be translated: [assembly: {1}], NuGet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,10 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved.
ResourceName="XA0119_Interpreter"
Condition=" '$(AndroidUseInterpreter)' == 'True' And '$(AotAssemblies)' == 'True' "
/>
<AndroidWarning Code="XA0119"
ResourceName="XA0119_ReadyToRun"
Condition=" '$(EmbedAssembliesIntoApk)' != 'True' And '$(PublishReadyToRun)' == 'True' "
Comment thread
jonathanpeppers marked this conversation as resolved.
/>
Comment thread
jonathanpeppers marked this conversation as resolved.
<AndroidWarning Code="XA1027"
ResourceName="XA1027"
Condition=" $(_AndroidXA1027) == 'true' "
Expand Down