diff --git a/dotnet/targets/Xamarin.Shared.Sdk.targets b/dotnet/targets/Xamarin.Shared.Sdk.targets index 8c5f3ebf43..427c10d6b1 100644 --- a/dotnet/targets/Xamarin.Shared.Sdk.targets +++ b/dotnet/targets/Xamarin.Shared.Sdk.targets @@ -463,6 +463,7 @@ <_CustomLinkerOptions> AreAnyAssembliesTrimmed=$(_AreAnyAssembliesTrimmed) AssemblyName=$(AssemblyName).dll + @(_AotArguments -> 'AOTArgument=%(Identity)') AOTCompiler=$(_AOTCompiler) AOTOutputDirectory=$(_AOTOutputDirectory) AppBundleManifestPath=$(_AppBundleManifestPath) @@ -996,7 +997,6 @@ 0) { Console.WriteLine ($"LinkerConfiguration:"); Console.WriteLine ($" ABIs: {string.Join (", ", Abis.Select (v => v.AsArchString ()))}"); + Console.WriteLine ($" AOTArguments: {string.Join (", ", Application.AotArguments)}"); Console.WriteLine ($" AOTOutputDirectory: {AOTOutputDirectory}"); Console.WriteLine ($" AppBundleManifestPath: {Application.InfoPListPath}"); Console.WriteLine ($" AreAnyAssembliesTrimmed: {Application.AreAnyAssembliesTrimmed}");