Skip to content

Error: To build this project, the following workloads must be installed: android #13390

@3sRykaert

Description

@3sRykaert

Description

Since today I'm getting errors on a build of a .Net Maui project which targets Android:
##[error]C:\Program Files\dotnet\sdk\10.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): Error NETSDK1147: To build this project, the following workloads must be installed: android
The weird thing is: I'm targeting .Net 9 and the error complains about .Net 10.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Current image version: '20251125.125.1' (same for Windows Server 2022 & 2025)

Is it regression?

worked until yesterday (which is 12/03/2025)

Expected behavior

Build working

Actual behavior

Build failing

Repro steps

The dotnet command is:
dotnet publish some.csproj -f net9.0-android

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions