12 writes to PackagesPath
aspire-managed (1)
NuGet\Commands\RestoreCommand.cs (1)
367PackagesPath = packagesPath,
Microsoft.Build.NuGetSdkResolver (1)
RestoreRunnerEx.cs (1)
93PackagesPath = SettingsUtility.GetGlobalPackagesFolder(settings),
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
1074restoreMetadata.PackagesPath = GetPackagesPath(project, settings);
NuGet.Commands (6)
RestoreCommand\RequestFactory\DependencyGraphSpecRequestProvider.cs (1)
256project.RestoreMetadata.PackagesPath = restoreArgs.GlobalPackagesFolder;
RestoreCommand\Utility\MSBuildRestoreUtility.cs (1)
218result.RestoreMetadata.PackagesPath = specItem.GetProperty("PackagesPath");
RestoreCommand\Utility\PackageSpecFactory.cs (3)
114metadata.PackagesPath = SettingsUtility.GetGlobalPackagesFolder(settings); 120metadata.PackagesPath = UriUtility.GetAbsolutePath(projectDirectory, metadata.PackagesPath); 339restoreMetadata.PackagesPath = GetPackagesPath(project);
RestoreCommand\Utility\ToolRestoreUtility.cs (1)
55PackagesPath = packagesPath,
NuGet.PackageManagement (1)
Projects\ProjectJsonNuGetProject.cs (1)
250packageSpec.RestoreMetadata.PackagesPath = SettingsUtility.GetGlobalPackagesFolder(settings);
NuGet.ProjectModel (2)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1097msbuildMetadata.PackagesPath = packagesPath;
ProjectRestoreMetadata.cs (1)
273clone.PackagesPath = PackagesPath;
13 references to PackagesPath
NuGet.CommandLine.XPlat (1)
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (1)
333var packagesPath = project.RestoreMetadata.PackagesPath;
NuGet.Commands (5)
RestoreCommand\RequestFactory\DependencyGraphSpecRequestProvider.cs (1)
258return project.RestoreMetadata.PackagesPath;
RestoreCommand\Utility\PackageSpecFactory.cs (4)
62/// like <see cref="ProjectRestoreMetadata.PackagesPath"/>, <see cref="ProjectRestoreMetadata.Sources"/>, 103/// Fills in settings-dependent defaults for <see cref="ProjectRestoreMetadata.PackagesPath"/>, 112if (string.IsNullOrEmpty(metadata.PackagesPath)) 120metadata.PackagesPath = UriUtility.GetAbsolutePath(projectDirectory, metadata.PackagesPath);
NuGet.PackageManagement (1)
NuGetPackageManager.cs (1)
3319projectAction.RestoreResult.LockFile.PackageSpec.RestoreMetadata.PackagesPath,
NuGet.ProjectModel (6)
PackageSpecWriter.cs (2)
74&& msbuildMetadata.PackagesPath == null && msbuildMetadata.OutputPath == null) 103SetValue(writer, "packagesPath", ApplyMacro(msbuildMetadata.PackagesPath, userSettingsDirectory, useMacros));
ProjectRestoreMetadata.cs (4)
171hashCode.AddObject(PackagesPath, osStringComparer); 221osStringComparer.Equals(PackagesPath, other.PackagesPath) && 273clone.PackagesPath = PackagesPath;