Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xamarin.Android.Build.Tasks] remove pdb2mdb #7950

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Apr 11, 2023

Remove where we ILRepack pdb2mdb.exe into Xamarin.Android.Build.Tasks.dll and the <ConvertDebuggingFiles/> MSBuild task. These are not used in .NET 6+, and can be removed in xamarin-android/main.

I also removed:

  • Code or tests around .mdb files
  • Tests around DebugType=Full

In future PRs, I think we can remove:

  • ILRepack completely
  • Xamarin.Android.Legacy.targets
  • Other unused MSBuild tasks

Remove where we `ILRepack` `pdb2mdb.exe` into
`Xamarin.Android.Build.Tasks.dll` and the `<ConvertDebuggingFiles/>`
MSBuild task. These are not used in .NET 6+, and can be removed in
xamarin-android/main.

I also removed:

* Code or tests around `.mdb` files
* Tests around `DebugType=Full`

In future PRs, I think we can remove:

* `ILRepack` completely
* `Xamarin.Android.Legacy.targets`
* Other unused MSBuild tasks
@dellis1972
Copy link
Contributor

ILRepack might need to stay since it stops us getting clashes with other IDE extensions which use Mono.Cecil and other dependencies.

@jonpryor
Copy link
Member

@dellis1972 wrote:

ILRepack might need to stay since it stops us getting clashes with other IDE extensions which use Mono.Cecil and other dependencies.

IIRC that was only true for Xamarin Studio/Visual Studio for Mac, and not Visual Studio for Windows.

@jonpryor jonpryor merged commit e0b4725 into dotnet:main Apr 13, 2023
@jonathanpeppers jonathanpeppers deleted the remove-pdb2mdb branch April 13, 2023 18:03
grendello added a commit to grendello/xamarin-android that referenced this pull request Apr 14, 2023
* main:
  Bump to xamarin/Java.Interop/main@554d819 (dotnet#7951)
  [Microsoft.Android.Sdk.ILLink] fix crash when TZ changes (dotnet#7956)
  [tests] Port 'Xamarin.Android.JcwGen-Tests.JcwGen-Tests' to .NET (dotnet#7949)
  [Xamarin.Android.Build.Tasks] remove `pdb2mdb` (dotnet#7950)
  [ci] Add some extra params to configure the test templates (dotnet#7955)
  Convert `/tools` and `/build-tools` projects from `net472` to `$(DotNetStableTargetFramework)` (dotnet#7943)
  [Xamarin.Android.Build.Tasks] fix cases of missing `@(Reference)` (dotnet#7947)
  Bump com.android.tools:r8 from 4.0.52 to 8.0.40 (dotnet#7934)
  Bump to xamarin/Java.Interop/main@a172402 (dotnet#7944)
  [Xamarin.Android] Remove OpenTK, sqlite-xamarin, System.EnterpriseServices. (dotnet#7940)
  [ci] Stop building classic test suites. (dotnet#7938)
  Bumping to the correct monodroid commit
  Trying to bump monodroid to run debugger-tests
  Pass timeout to runtime
grendello added a commit to grendello/xamarin-android that referenced this pull request Apr 17, 2023
* main:
  Bump to xamarin/Java.Interop/main@554d819 (dotnet#7951)
  [Microsoft.Android.Sdk.ILLink] fix crash when TZ changes (dotnet#7956)
  [tests] Port 'Xamarin.Android.JcwGen-Tests.JcwGen-Tests' to .NET (dotnet#7949)
  [Xamarin.Android.Build.Tasks] remove `pdb2mdb` (dotnet#7950)
  [ci] Add some extra params to configure the test templates (dotnet#7955)
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants