8 writes to CacheFilePath
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
1066restoreMetadata.CacheFilePath = NoOpRestoreUtilities.GetProjectCacheFilePath(outputPath, project.FullPath);
NuGet.Commands (5)
RestoreCommand\RequestFactory\RestoreArgs.cs (1)
200request.Project.RestoreMetadata.CacheFilePath = NoOpRestoreUtilities.GetCacheFilePath(request);
RestoreCommand\RestoreCommand.cs (1)
1498_request.Project.RestoreMetadata.CacheFilePath = null;
RestoreCommand\Utility\NoOpRestoreUtilities.cs (2)
46return request.Project.RestoreMetadata.CacheFilePath = GetProjectCacheFilePath(cacheRoot); 257request.Project.RestoreMetadata.CacheFilePath = GetToolCacheFilePath(toolDirectory, ToolRestoreUtility.GetToolIdOrNullFromSpec(request.Project));
RestoreCommand\Utility\PackageSpecFactory.cs (1)
326restoreMetadata.CacheFilePath = NoOpRestoreUtilities.GetProjectCacheFilePath(outputPath, project.FullPath);
NuGet.PackageManagement (1)
Projects\ProjectJsonNuGetProject.cs (1)
192metadata.CacheFilePath = await GetCacheFilePathAsync();
NuGet.ProjectModel (1)
ProjectRestoreMetadata.cs (1)
274clone.CacheFilePath = CacheFilePath;
7 references to CacheFilePath
NuGet.Build.Tasks (1)
BuildTasksUtility.cs (1)
270FileUtility.Delete(project.RestoreMetadata.CacheFilePath);
NuGet.Commands (5)
RestoreCommand\RequestFactory\RestoreArgs.cs (1)
198if (request.Project.RestoreMetadata?.CacheFilePath == null)
RestoreCommand\RestoreCommand.cs (3)
504_request.Project.RestoreMetadata.CacheFilePath, 1473if (CacheFileExists(_request.Project.RestoreMetadata.CacheFilePath, out cacheFileAge)) 1475cacheFile = FileUtility.SafeRead(_request.Project.RestoreMetadata.CacheFilePath, (stream, path) => CacheFileFormat.Read(stream, _logger, path));
RestoreCommand\Utility\NoOpRestoreUtilities.cs (1)
103var projectCacheFilePath = request.Project.RestoreMetadata?.CacheFilePath;
NuGet.ProjectModel (1)
ProjectRestoreMetadata.cs (1)
274clone.CacheFilePath = CacheFilePath;