Skip to content

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

Merged
jonpryor merged 1 commit into
dotnet:mainfrom
jonathanpeppers:remove-pdb2mdb
Apr 13, 2023
Merged

[Xamarin.Android.Build.Tasks] remove pdb2mdb#7950
jonpryor merged 1 commit into
dotnet:mainfrom
jonathanpeppers:remove-pdb2mdb

Conversation

@jonathanpeppers

@jonathanpeppersjonathanpeppers commented Apr 11, 2023

Copy link
Copy Markdown
Member

Remove where we ILRepackpdb2mdb.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
Copy Markdown
Contributor

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

@jonathanpeppers

Copy link
Copy Markdown
MemberAuthor

@jonpryor

Copy link
Copy Markdown
Contributor

@dellis1972wrote:

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:mainApr 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-actionsgithub-actionsBot locked and limited conversation to collaborators Jan 22, 2024
Sign up for freeto 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

@jonathanpeppers@dellis1972@jonpryor