diff --git a/src/Xamarin.Android.Build.Tasks/Tasks/ConvertDebuggingFiles.cs b/src/Xamarin.Android.Build.Tasks/Tasks/ConvertDebuggingFiles.cs deleted file mode 100644 index edb79829e5c..00000000000 --- a/src/Xamarin.Android.Build.Tasks/Tasks/ConvertDebuggingFiles.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.IO; -using System.Collections.Generic; -using Microsoft.Build.Framework; -using Microsoft.Build.Utilities; -using Pdb2Mdb; -using Microsoft.Android.Build.Tasks; - -namespace Xamarin.Android.Tasks -{ - public class ConvertDebuggingFiles : AndroidTask - { - public override string TaskPrefix => "CDF"; - - // The .pdb files we need to convert - [Required] - public ITaskItem[] Files { get; set; } - - [Output] - public ITaskItem[] ConvertedFiles { get; set; } - - public override bool RunTask () - { - var convertedFiles = new List (); - foreach (var file in Files) { - var pdb = file.ItemSpec; - - if (!File.Exists (pdb)) - continue; - - try { - Microsoft.Android.Build.Tasks.Files.SetWriteable (pdb); - Converter.Convert (Path.ChangeExtension (pdb, ".dll")); - convertedFiles.Add (new TaskItem (Path.ChangeExtension (pdb, ".dll"))); - } catch (Exception ex) { - Log.LogWarningFromException (ex, true); - } - } - ConvertedFiles = convertedFiles.ToArray (); - Log.LogDebugTaskItems ("[Output] ConvertedFiles:", ConvertedFiles); - return true; - } - } -} diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj index b677c0ece0e..96efe7fea5b 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj @@ -23,9 +23,6 @@ - - $(MicrosoftAndroidSdkOutDir)pdb2mdb.exe - $(MicrosoftAndroidSdkOutDir)Mono.CompilerServices.SymbolWriter.dll diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.targets index cd4782e7bba..d29d385d6d0 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.targets @@ -287,7 +287,6 @@ - @@ -405,15 +404,6 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved. /> - - - - $(AllowedReferenceRelatedFileExtensions); - .dll.mdb; - .exe.mdb - - - diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Legacy.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Legacy.targets index 97e8d06aa43..d80244fcace 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Legacy.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Legacy.targets @@ -219,7 +219,6 @@ projects. .NET 5 projects will not import this file. - @@ -388,17 +387,10 @@ projects. .NET 5 projects will not import this file. - - <_ConvertedMdbFiles Include="@(_ResolvedPdbFiles->'%(RootDir)%(Directory)%(Filename).dll.mdb')" /> - - - <_DeprecatedSymbols Include="@(_ResolvedMdbFiles);@(_ResolvedPdbFiles)" /> @@ -408,26 +400,9 @@ projects. .NET 5 projects will not import this file. FormatArguments="%(_DeprecatedSymbols.FileName)%(_DeprecatedSymbols.Extension)" Condition=" '%(_DeprecatedSymbols.Identity)' != '' " /> - - - - - - - - - - - - +