Skip to content

Commit bba3216

Browse files
authored
Merge pull request #321 from dotnet/marcpopMSFT-wuenvvariable
Fix the WORKLOAD_UPDDATE environment variable
2 parents 272c7f8 + b2e41aa commit bba3216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accepted/2020/workloads/workload-manifest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ To mantain installation coherence, any workload management operation (install, u
147147

148148
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.
149149

150-
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.
150+
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.
151151

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

0 commit comments

Comments
 (0)