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 Xamarin.Android.Legacy.targets and friends #7985

Merged
merged 2 commits into from
Apr 24, 2023

Conversation

jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Apr 21, 2023

Taking a first pass at deleting MSBuild-related files that are not used in .NET 8 and only existed to support "classic" Xamarin.Android.

Deleting:

  • Xamarin.Android.Legacy.targets
  • Xamarin.Android.Aapt.targets
  • Xamarin.Android.Wear.targets
  • Associated MSBuild task .cs files that are now unused

After these changes, I got the error from Xamarin.Android.NUnitLite.csproj:

Xamarin.Android.Tooling.targets(52,31): error MSB4057: The target "_GetReferenceAssemblyPaths" does not exist in the project.

I removed this project from Xamarin.Android.sln for now, but it will be a good target for removal in the future.

…nd friends

Taking a first pass at deleting MSBuild-related files that are not
used in .NET 8 and only existed to support "classic" Xamarin.Android.

Deleting:

* `Xamarin.Android.Legacy.targets`
* `Xamarin.Android.Aapt.targets`
* `Xamarin.Android.Wear.targets`
* Associated MSBuild task `.cs` files that are now unused

After these changes, I got the error from
`Xamarin.Android.NUnitLite.csproj`:

    Xamarin.Android.Tooling.targets(52,31): error MSB4057: The target "_GetReferenceAssemblyPaths" does not exist in the project.

I removed this project from `Xamarin.Android.sln` for now, but it will
be a good target for removal in the future.
@jonathanpeppers jonathanpeppers marked this pull request as ready for review April 22, 2023 05:43
@jonathanpeppers jonathanpeppers merged commit decd1b5 into main Apr 24, 2023
@jonathanpeppers jonathanpeppers deleted the Remove-Xamarin.Android.Legacy.targets branch April 24, 2023 21:23
grendello added a commit to grendello/xamarin-android that referenced this pull request Apr 27, 2023
* main:
  [Xamarin.Android.Build.Tasks] remove Xamarin.Android.Legacy.targets and friends (dotnet#7985)
  Bump external/Java.Interop from `554d819` to `f0e3300` (dotnet#7982)
  [Xamarin.Android.Build.Tasks] stop redistributing `apksigner` (dotnet#7984)
@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.

2 participants