Skip to content

Missing --artifacts-path from dotnet restore docs #53170

@Kevinf63

Description

@Kevinf63

Describe the issue or suggestion

Per subject. Missing from wiki documentation despite it's presence in dotnet restore --help.

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-restore

dotnet restore --help
Description:
  .NET dependency restorer

Usage:
  dotnet restore [<PROJECT | SOLUTION | FILE>...] [options]

Arguments:
  <PROJECT | SOLUTION | FILE>  The project or solution or C# (file-based program) file to operate on. If a file is not specified, the command will search the current directory for a
                               project or solution.

Options:
  --disable-build-servers             Force the command to ignore any persistent build servers. [default: False]
  -s, --source <SOURCE>               The NuGet package source to use for the restore.
  --packages <PACKAGES_DIR>           The directory to restore packages to.
  --ucr, --use-current-runtime        Use current runtime as the target runtime. [default: False]
  --disable-parallel                  Prevent restoring multiple projects in parallel. [default: False]
  --configfile <FILE>                 The NuGet configuration file to use.
  --no-http-cache                     Disable Http Caching for packages. [default: False]
  --ignore-failed-sources             Treat package source failures as warnings. [default: False]
  -f, --force                         Force all dependencies to be resolved even if the last restore was successful.
                                      This is equivalent to deleting project.assets.json. [default: False]
  --no-dependencies                   Do not restore project-to-project references and only restore the specified project. [default: False]
  -v, --verbosity <LEVEL>             Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. [default: minimal]
  --interactive                       Allows the command to stop and wait for user input or action (for example to complete authentication). [default: True]
  --artifacts-path <ARTIFACTS_DIR>    The artifacts path. All output from the project, including build, publish, and pack output, will go in subfolders under the specified path.
  --use-lock-file                     Enables project lock file to be generated and used with restore. [default: False]
  --locked-mode                       Don't allow updating project lock file. [default: False]
  --lock-file-path <LOCK_FILE_PATH>   Output location where project lock file is written. By default, this is 'PROJECT_ROOT\packages.lock.json'.
  --force-evaluate                    Forces restore to reevaluate all dependencies even if a lock file already exists. [default: False]
  -nologo, --no-logo                  Do not display the startup banner or the copyright message. [default: True]
  -r, --runtime <RUNTIME_IDENTIFIER>  The target runtime to restore packages for.
  -a, --arch <ARCH>                   The target architecture.
  --os <OS>                           The target operating system.
  -?, -h, --help                      Show command line help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions