diff --git a/src/Xamarin.Android.Build.Tasks/Tasks/CollectAssemblyFilesForArchive.cs b/src/Xamarin.Android.Build.Tasks/Tasks/CollectAssemblyFilesForArchive.cs index 20f3e7e15cb..84d66ef827b 100644 --- a/src/Xamarin.Android.Build.Tasks/Tasks/CollectAssemblyFilesForArchive.cs +++ b/src/Xamarin.Android.Build.Tasks/Tasks/CollectAssemblyFilesForArchive.cs @@ -29,8 +29,6 @@ public class CollectAssemblyFilesForArchive : AndroidTask [Required] public string AppSharedLibrariesDir { get; set; } = ""; - public bool EmbedAssemblies { get; set; } - [Required] public bool EnableCompression { get; set; } @@ -58,10 +56,6 @@ public class CollectAssemblyFilesForArchive : AndroidTask public override bool RunTask () { - // If we aren't embedding assemblies, we don't need to do anything - if (!EmbedAssemblies) - return !Log.HasLoggedErrors; - var files = new PackageFileListBuilder (); DSOWrapperGenerator.Config dsoWrapperConfig = DSOWrapperGenerator.GetConfig (Log, AndroidBinUtilsDirectory, IntermediateOutputPath); diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets index 87406c4e337..ba56eff5b92 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets @@ -2117,7 +2117,6 @@ because xbuild doesn't support framework reference assemblies. AndroidBinUtilsDirectory="$(AndroidBinUtilsDirectory)" ApkOutputPath="$(_ApkOutputPath)" AppSharedLibrariesDir="$(_AndroidApplicationSharedLibraryPath)" - EmbedAssemblies="$(EmbedAssembliesIntoApk)" EnableCompression="$(AndroidEnableAssemblyCompression)" IncludeDebugSymbols="$(AndroidIncludeDebugSymbols)" IntermediateOutputPath="$(IntermediateOutputPath)" @@ -2247,21 +2246,6 @@ because xbuild doesn't support framework reference assemblies. LibraryProjectJars="@(ExtractedJarImports)"> - - - -