Skip to content

dotnet image throws warning about stale workloads #1303

@seesharprun

Description

@seesharprun

Everytime I build a .NET project using the .NET SDK in the devcontainers/dotnet image, I get the same error message:

An issue was encountered verifying workloads. For more information, run "dotnet workload update".

This error message leads me to believe that the workloads on the SDK are stale in some way. I've tried running the mentioned command in the devcontainer's lifecycle, but it doesn't always consistently clear the error message. Is this something that can be fixed in the base image or is there a specific lifecycle step where I should run dotnet workload update.

Here's related issues in the .NET repositories:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions