-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet
image throws warning about stale workloads
#1303
Comments
Hello @seesharprun Thank you for raising the issue. Could you please share the few more details on devcontainer.json and dotnet image and your project sample setup to reproduce the issue. |
This happens to me any time I use this image in a devcontainer, but you can see a running example by opening this repo in GitHub Codespaces: https://github.com/azurecosmosdb/quickstart-nosql-dotnet Devcontainer: https://github.com/AzureCosmosDB/quickstart-nosql-dotnet/blob/main/.devcontainer/devcontainer.json#L2 |
Thank you. I could repro the issue. But i do not get it everytime i run the build command. I could see the warning message the first time i run the Checking on this further. Will update you after completing the analysis. |
Thanks! I tried to fix this by running I'm not against running |
Everytime I build a .NET project using the .NET SDK in the
devcontainers/dotnet
image, I get the same error message: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:
The text was updated successfully, but these errors were encountered: