From b2e41aa776479814d6a9285d4ab40e4f2d5f1b2e Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Wed, 14 Aug 2024 13:41:20 -0700 Subject: [PATCH] Fix the WORKLOAD_UPDDATE environment variable --- accepted/2020/workloads/workload-manifest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accepted/2020/workloads/workload-manifest.md b/accepted/2020/workloads/workload-manifest.md index c164a0a54..fdc1d07f8 100644 --- a/accepted/2020/workloads/workload-manifest.md +++ b/accepted/2020/workloads/workload-manifest.md @@ -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`