Skip to content

Conversation

@jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Jun 16, 2022

Context: https://github.com/dotnet/maui/releases/tag/6.0.400
Context: #7023

MAUI SR 1 shipped along with a new .NET 6 Android workload. We should
be able to use these packs in .NET 7. This would occur when building
net6.0-android apps with a .NET 7 SDK.

Since #7023 is in that release, we can:

  • Specify the .NET 6 packs as sdk where appropriate.
  • Condition AutoImport.props to apply for .NET 7-only.
  • We also need to remove $(_DefaultJavaSourceJarPattern) like we did
    in .NET 6.

@jonathanpeppers
Copy link
Member Author

This breaks Xamarin.Legacy.Sdk, need to investigate why.

Context: https://github.com/dotnet/maui/releases/tag/6.0.400
Context: dotnet#7023

MAUI SR 1 shipped along with a new .NET 6 Android workload. We should
be able to use these packs in .NET 7. This would occur when building
`net6.0-android` apps with a .NET 7 SDK.

Since dotnet#7023 is in that release, we can:

* Specific the .NET 6 packs as `sdk` where appropriate.
* Condition `AutoImport.props` to apply for .NET 7-only.
* We also need to remove `$(_DefaultJavaSourceJarPattern)` like we did
  in .NET 6.
@jonathanpeppers
Copy link
Member Author

Ok, the test that failed just needed to update Xamarin.Legacy.Sdk, let's see what the next run does.

@jonathanpeppers jonathanpeppers marked this pull request as ready for review June 21, 2022 18:08
@jonathanpeppers jonathanpeppers merged commit 2ca2a10 into dotnet:main Jun 22, 2022
@jonathanpeppers jonathanpeppers deleted the NET6Android32.0.415 branch June 22, 2022 02:50
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 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