DotNetPackageAddSettings.

PackageDirectory Property

Summary

Gets or sets the directory path where to restore the packages. The default package restore location is %userprofile%\.nuget\packages on Windows and ~/.nuget/packages on macOS and Linux.

Syntax

public DirectoryPath PackageDirectory { get; set; }

Value

Type Description
DirectoryPath