DotNetRestoreSettings.

LockFilePath Property

Summary

Gets or sets a value indicating output location where project lock file is written.

Syntax

public FilePath LockFilePath { get; set; }

Remarks

If not set, 'dotnet restore' defaults to 'PROJECT_ROOT\packages.lock.json'.

Supported by .NET SDK version 2.1.500 and above.

Value

Type Description
FilePath