diff --git a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets index ee2c5039968..78cb1632cea 100644 --- a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets +++ b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.NativeAOT.targets @@ -12,9 +12,8 @@ This file contains the NativeAOT-specific MSBuild logic for .NET for Android. _AndroidBeforeIlcCompile; SetupOSSpecificProps; - _ComputeManagedAssemblyToLink; PrepareForILLink; - _RunILLink; + ILLink; ComputeIlcCompileInputs; _AndroidComputeIlcCompileInputs; $(IlcCompileDependsOn) @@ -34,12 +33,7 @@ This file contains the NativeAOT-specific MSBuild logic for .NET for Android. $(_NdkBinDir)$(_NdkClangPrefix)clang++ $(CppCompilerAndLinker) $(_NdkBinDir)llvm-objcopy - - - - - true