Skip to content

Dotnet image throws warning about stale workloads - #1403

Merged
Eljo George (eljog) merged 2 commits into
devcontainers:mainfrom
v-Mathiyarasy:dev/Mathi/DotnetWarning
Jun 2, 2025
Merged

Eljo George (eljog) merged 2 commits into
devcontainers:mainfrom
v-Mathiyarasy:dev/Mathi/DotnetWarning

Conversation

@v-Mathiyarasy

@v-Mathiyarasy v-Mathiyarasy commented May 13, 2025 •

Copy link
Copy Markdown
Contributor

Fixes : #1303

Description:
Dotnet image throws below warning when running dotnet build command first time.
"An issue was encountered verifying workloads. For more information, run "dotnet workload update".
Issue is reproducable when user is not a root user.

Changes:

  • Docker File: Adding write permission to other users to usr/share/dotnet resolves the issue.
  • Updated the dotnet version in test-project
  • Created a new test case to validate the fix

@v-Kaniska244 Kaniska (v-Kaniska244) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change looks fine.

@v-Mathiyarasy
v-Mathiyarasy marked this pull request as ready for review May 14, 2025 07:14
@v-Mathiyarasy
v-Mathiyarasy requested a review from a team as a code owner May 14, 2025 07:14
@eljog
Eljo George (eljog) merged commit 545e9e5 into devcontainers:main Jun 2, 2025
@v-Mathiyarasy
v-Mathiyarasy deleted the dev/Mathi/DotnetWarning branch September 23, 2025 09:57
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.

dotnet image throws warning about stale workloads

3 participants