適用於 Android 的 .NET 警告 XA1029
warning XA1029: The 'AotAssemblies' MSBuild property is deprecated. Edit the project file in a text editor to remove this property, and use the 'RunAOTCompilation' MSBuild property instead.
而不是使用:
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<AotAssemblies>true</AotAssemblies>
</PropertyGroup>
請改用 :
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>