Skip to content

Conversation

@pjcollins
Copy link
Member

Removes the conditional compiler directives used to swap between .NET
and MonoAndroid. These are no longer needed in main as .NET is the
only supported target.

@pjcollins pjcollins force-pushed the monoandroid-directives branch 3 times, most recently from 0fff586 to c24c3c2 Compare October 17, 2023 21:31
Removes the conditional compiler directives used to swap between `.NET`
and `MonoAndroid`.  These are no longer needed in main as `.NET` is the
only supported target.
@pjcollins pjcollins force-pushed the monoandroid-directives branch from c24c3c2 to a3c5fbe Compare October 19, 2023 22:40
@pjcollins pjcollins marked this pull request as ready for review October 19, 2023 23:19
#endif

#if NET && ANDROID_34
#if ANDROID_34
Copy link
Contributor

@jpobst jpobst Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ANDROID_34 could be deleted as well. We won't be making a net8.0-android33 or net9.0-android33, etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we will want to go through and clean this up in a future PR? Given that main still allows you to build Mono.Android.csproj for ~any supported framework version I think it makes sense to leave these in for now.

partial class WindowManagerLayoutParams
{
#if NET && ANDROID_34
#if ANDROID_34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ANDROID_34

@pjcollins pjcollins merged commit 2ff47e4 into dotnet:main Oct 20, 2023
@pjcollins pjcollins deleted the monoandroid-directives branch October 20, 2023 18:11
@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