5 writes to LockFilePath
NuGet.Commands (5)
RestoreCommand\RequestFactory\RestoreArgs.cs (2)
191
request.
LockFilePath
= Path.Combine(request.RestoreOutputPath, LockFileFormat.AssetsFileName);
195
request.
LockFilePath
= ProjectJsonPathUtilities.GetLockFilePath(request.Project.FilePath);
RestoreCommand\RestoreCommand.cs (2)
662
_request.
LockFilePath
= assetFilePath;
1497
_request.
LockFilePath
= null;
RestoreCommand\Utility\NoOpRestoreUtilities.cs (1)
258
request.
LockFilePath
= toolPathResolver.GetLockFilePath(toolDirectory);
11 references to LockFilePath
NuGet.Commands (11)
RestoreCommand\RestoreCommand.cs (4)
501
_request.
LockFilePath
,
502
new Lazy<LockFile>(() => LockFileUtilities.GetLockFile(_request.
LockFilePath
, _logger)),
659
if (_request.
LockFilePath
== null
1525
var projectLockFilePath = _request.
LockFilePath
;
RestoreCommand\RestoreRequest.cs (2)
100
/// The existing lock file to use. If not specified, the lock file will be read from the <see cref="
LockFilePath
"/>
102
/// description for <see cref="
LockFilePath
"/>)
RestoreCommand\RestoreRunner.cs (3)
189
if (request.Request.
LockFilePath
== null
190
|| uniqueRequest.Add(request.Request.
LockFilePath
))
214
if (uniqueRequest.Add(request.Request.
LockFilePath
))
RestoreCommand\Utility\NoOpRestoreUtilities.cs (2)
127
if (!string.IsNullOrWhiteSpace(request.
LockFilePath
) && !File.Exists(request.
LockFilePath
))