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

[release/8.0.2xx] [build] keep $(DotNetAndroidManifestVersionBand) on 8.0.100 #8841

Conversation

jonathanpeppers
Copy link
Member

Context: https://github.com/xamarin/xamarin-android/blob/2ff1a5f67d6da4ebac507a1b248809388f23e7c7/eng/Versions.props#L15

As we moved to the .NET 8.0.200 SDK, we inadvertently changed the version band of the Android workload:

Microsoft.NET.Sdk.Android.Manifest-8.0.200

This would prevent 8.0.100 .NET SDKs from using the latest Android workload.

Pin $(DotNetAndroidManifestVersionBand) to 8.0.100 to fix this.

Context: https://github.com/xamarin/xamarin-android/blob/2ff1a5f67d6da4ebac507a1b248809388f23e7c7/eng/Versions.props#L15

As we moved to the .NET 8.0.200 SDK, we inadvertently changed the
version band of the Android workload:

    Microsoft.NET.Sdk.Android.Manifest-8.0.200

This would prevent 8.0.100 .NET SDKs from using the latest Android
workload.

Pin `$(DotNetAndroidManifestVersionBand)` to 8.0.100 to fix this.
@@ -22,6 +22,6 @@
<DotNetMonoManifestVersionBand>8.0.100</DotNetMonoManifestVersionBand>
<DotNetEmscriptenManifestVersionBand>8.0.100</DotNetEmscriptenManifestVersionBand>
<!-- NOTE: sometimes we hardcode this when transitioning to new version bands -->
<DotNetAndroidManifestVersionBand>$(DotNetPreviewVersionBand)</DotNetAndroidManifestVersionBand>
<DotNetAndroidManifestVersionBand>8.0.100</DotNetAndroidManifestVersionBand>
Copy link
Member

Choose a reason for hiding this comment

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

I'm not seeing this used anywhere, should we update Microsoft.NET.Sdk.Android.proj to use this instead of $(DotNetSdkManifestsFolder)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Trying the other property now, (exactly what release/7.0.4xx has).

Copy link
Member Author

Choose a reason for hiding this comment

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

This one seems to work:

image

But letting CI finish.

@jonathanpeppers
Copy link
Member Author

I think we can ignore the one test failure:

Build_From_Clean_DontIncludeRestore
Exceeded expected time of 13500ms, actual 16852.565ms

@jonathanpeppers jonathanpeppers merged commit 0d97e20 into dotnet:release/8.0.2xx Mar 27, 2024
44 of 46 checks passed
@jonathanpeppers jonathanpeppers deleted the DotNetAndroidManifestVersionBand branch March 27, 2024 19:57
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 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