dotnet-workload-restore - Man Page

Installs workloads needed for a project or a solution.

dotnet workload restore

This article applies to: ✔️ .NET 6 SDK and later versions

Synopsis

dotnet workload restore [<PROJECT | SOLUTION>]
    [--configfile <FILE>] [--disable-parallel]
    [--ignore-failed-sources] [--include-previews] [--interactive]
    [--no-cache] [--skip-manifest-update] [-s|--source <SOURCE>] 
    [--temp-dir <PATH>] [-v|--verbosity <LEVEL>] [--version <VERSION>]

dotnet workload restore -?|-h|--help

Description

The dotnet workload restore command analyzes a project or solution to determine which workloads it needs, then installs any workloads that are missing.

For more information about the dotnet workload commands, see the dotnet workload install command.

Arguments

Options

Example

  • Restore workloads needed by MyApp.csproj:

    dotnet workload restore MyApp.csproj

Info

2024-10-02 .NET Documentation