Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 3, 2025

Updates the Android manifest feed reference in WorkloadDependencies.proj from d17-12 to Dev18 (d18-0) to fix outdated Android SDK versions in the generated WorkloadDependencies.json.

Problem

The WorkloadDependencies.json file was being generated with outdated Android SDK versions:

  • build-tools;35.0.0 instead of 36.x
  • platforms;android-35 instead of android-36

Root Cause

The feed URL in tools/workload-dependencies/WorkloadDependencies.proj was pointing to d17-12, which doesn't contain SDK 36 entries.

Changes Made

  • Updated the local file path from AndroidManifestFeed_d17.12.xml to AndroidManifestFeed_d18.0.xml
  • Updated the fallback URL from https://aka.ms/AndroidManifestFeed/d17-12 to https://aka.ms/AndroidManifestFeed/d18-0

The Dev18 (d18-0) feed contains the android-36 and android-36.1 platform entries needed for .NET 10.

Original prompt

This section details on the original issue you should resolve

<issue_title>WorkloadDependencies.json has wrong contents</issue_title>
<issue_description>### Android framework version

net10.0-android (Preview)

Affected platform version

Windows, but probably all

Description

Looking at:

C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.android\36.1.2\WorkloadDependencies.json

It says:

        {
          "desc": "Android SDK Build-Tools 35",
          "sdkPackage": {
            "id": "build-tools;35.0.0"
          },
          "optional": "false"
        },
...
        {
          "desc": "Android SDK Platform 35",
          "sdkPackage": {
            "id": "platforms;android-35"
          },
          "optional": "false"
        },

It feels like a lot of these numbers are outdated and should be 36.x?

Steps to Reproduce

dotnet workload install android

Did you find any workaround?

No response

Relevant log output

```</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@jonathanpeppers
Copy link
Member

@copilot try again

Copy link
Contributor Author

Copilot AI commented Dec 5, 2025

@copilot try again

Updated the Android manifest feed reference from d17-12 to d17-14 in WorkloadDependencies.proj (773aec0). The d17-14 feed contains the android-36 platform entry needed for .NET 10.

Copilot AI changed the title [WIP] Fix outdated contents in WorkloadDependencies.json Fix outdated contents in WorkloadDependencies.json Dec 5, 2025
@jonathanpeppers jonathanpeppers marked this pull request as ready for review December 5, 2025 23:41
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

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

This generally looks good to me, but we should check CI is green. (it's ongoing)

@jonathanpeppers
Copy link
Member

I see correct values now:

        {
          "desc": "Android SDK Platform 36",
          "sdkPackage": {
            "id": "platforms;android-36"
          },
          "optional": "false"
        },

@jonathanpeppers
Copy link
Member

This file is unused by our build, so not going to rerun some of the flaky test lanes. Merging.

@jonathanpeppers jonathanpeppers merged commit fa1d0c0 into main Dec 8, 2025
53 of 60 checks passed
@jonathanpeppers jonathanpeppers deleted the copilot/fix-workloaddependencies-json branch December 8, 2025 20:42
jonathanpeppers added a commit that referenced this pull request Dec 8, 2025
Fixes: #10596

- Updated the local file path from `AndroidManifestFeed_d17.12.xml`
   to `AndroidManifestFeed_d18.0.xml`

- Updated the fallback URL from `https://aka.ms/AndroidManifestFeed/d17-12`
   to `https://aka.ms/AndroidManifestFeed/d18-0`

The Dev18 (`d18-0`) feed contains the `android-36` and `android-36.1`
platform entries needed for .NET 10.

Co-authored-by: Jonathan Peppers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WorkloadDependencies.json has wrong contents

3 participants