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 d17-14 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_d17.14.xml
  • Updated the fallback URL from https://aka.ms/AndroidManifestFeed/d17-12 to https://aka.ms/AndroidManifestFeed/d17-14

The d17-14 feed contains the android-36 platform entry 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

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
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
Copilot finished work on behalf of jonathanpeppers December 5, 2025 23:04
@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)

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

2 participants