Skip to content

Install nightly .NET Android workload using rollback file#1229

Closed
jonathanpeppers with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-1228
Closed

Install nightly .NET Android workload using rollback file#1229
jonathanpeppers with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-1228

Conversation

Copilot AI commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

This PR implements the installation of nightly .NET Android workload versions by creating a workload rollback file and updating the GitHub workflow to use it with additional NuGet sources.

Changes Made

1. Created net9.0-workloads.json

Added a workload rollback file in the repository root with specific nightly versions:

  • microsoft.net.sdk.android: 35.0.78/9.0.100
  • Various mono toolchain and emscripten workloads: 9.0.7/9.0.100

2. Updated .github/workflows/copilot-setup-steps.yml

Modified the "Install Android workload" step to use the rollback file and additional sources:

Before:

- name: Install Android workload
  run: dotnet workload install android

After:

- name: Install Android workload
  run: dotnet workload install android --from-rollback-file net9.0-workloads.json --source https://api.nuget.org/v3/index.json --source https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-android-be1cab92/nuget/v3/index.json

This ensures consistent, reproducible workload installations across CI runs by pinning to specific nightly versions and using the Azure DevOps NuGet feed for accessing the latest .NET Android packages.

Fixes #1228.


💡 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.

Copilot AI and others added 2 commits July 24, 2025 21:32
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Install nightly .NET Android workload Install nightly .NET Android workload using rollback file Jul 24, 2025
Copilot AI requested a review from jonathanpeppers July 24, 2025 21:39
@jonathanpeppers

Copy link
Copy Markdown
Member

@copilot report back what version of the Android workload you have installed

Copilot AI commented Jul 24, 2025

Copy link
Copy Markdown
Contributor Author

@copilot report back what version of the Android workload you have installed

The Android workload is currently installed with version 35.0.78/9.0.100, which matches the version specified in the net9.0-workloads.json rollback file. The workload was installed from SDK 9.0.300 using the manifest at /usr/share/dotnet/sdk-manifests/9.0.100/microsoft.net.sdk.android/35.0.78/WorkloadManifest.json.

@jonathanpeppers

Copy link
Copy Markdown
Member

Let's not actually merge this, but I'll keep this around for future reference.

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.

Install nightly .NET Android workload

2 participants