NuGetRestoreSettings.

RequireConsent Property

Summary

Gets or sets a value indicating whether package restore consent is granted before installing a package.

Syntax

public bool RequireConsent { get; set; }

Value

Type Description
bool true if package restore consent is granted; otherwise, false.