You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time you run a command in a new SDK, we check to see if your workloads need to be updated (this is because we can't install workloads as part of acquisition today and becomes the runtime workloads churn every month).
The message can be ignored and won't show up again but I agree it shouldn't be showing up at all in your case. @MiYanni added this two years ago and this is the first report of this I've seen. Definitely not enough to go on from that message. It indicates you wouldn't be able to build a maui app without taking action.
The check was added to help with keeping workloads up-to-date when updating SDKs. You can read the description here: #34322
That being said, I added the environment variable DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK that you can set to true to never have this run, and thus never see an error like this. It just means there was a problem validating the workloads (even though you said it was a clean machine). The reason the error says to run dotnet workload update is because that process properly routes exceptions and problems to the surface. This first-run check doesn't do that as it shouldn't impede the user's actual action they're trying to perform.
There's just not enough information here to be actionable. Closing.
I just installed latest .NET 9 SDK on a clean machine. I get this message. Is there a way we can change the product to avoid this?
An issue was encountered verifying workloads. For more information, run "dotnet workload update".
The text was updated successfully, but these errors were encountered: