Skip to content

Commit

Permalink
Merge pull request #321 from dotnet/marcpopMSFT-wuenvvariable
Browse files Browse the repository at this point in the history
Fix the WORKLOAD_UPDDATE environment variable
  • Loading branch information
marcpopMSFT authored Aug 19, 2024
2 parents 272c7f8 + b2e41aa commit bba3216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accepted/2020/workloads/workload-manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ To mantain installation coherence, any workload management operation (install, u

The .NET tooling will automatically and opportunistically download updated versions of all manifests for the current SDK band and unpack them to `~/.dotnet/sdk-advertising/{sdk-band}/{manifest-id}/`. These user-local updated copies of the manifest are known as *advertising manifests.* The advertising manifests are used to notify that newer versions of installed components are available. They are **not** used in pack resolution or installation.

By default, the .NET SDK will look for newer versions of workload manifests and update the advertising manifests when a `dotnet` CLI command is run which runs NuGet restore, and it has been at least 24 hours since the SDK checked for updated workload manifests. This can be disabled by setting the `WORKLOAD_UPDATE_NOTIFY_DISABLE` environment variable to `true`, and the interval can be controlled with the `WORKLOAD_UPDATE_NOTIFY_INTERVAL_HOURS` environment variable.
By default, the .NET SDK will look for newer versions of workload manifests and update the advertising manifests when a `dotnet` CLI command is run which runs NuGet restore, and it has been at least 24 hours since the SDK checked for updated workload manifests. This can be disabled by setting the `DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE` environment variable to `true`, and the interval can be controlled with the `DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_INTERVAL_HOURS` environment variable.

To explicitly update the advertising manifests without also updating workloads, the following command can be used: `dotnet workload update --advertising-manifests-only`

Expand Down

0 comments on commit bba3216

Please sign in to comment.