32 references to NuGetFolderPath
Microsoft.DotNet.Configurer (1)
CliFolderPathCalculator.cs (1)
59NuGetEnvironment.GetFolderPath(NuGetFolderPath.UserSettingsDirectory);
NuGet.Commands (3)
CommandRunners\LocalsCommandRunner.cs (3)
84PrintLocalResourcePath(TempResourceName, NuGetEnvironment.GetFolderPath(NuGetFolderPath.Temp), localsArgs); 94PrintLocalResourcePath(TempResourceName, NuGetEnvironment.GetFolderPath(NuGetFolderPath.Temp), localsArgs); 228var tempFolderPath = NuGetEnvironment.GetFolderPath(NuGetFolderPath.Temp);
NuGet.Common (18)
ConcurrencyUtilities.cs (3)
243var folder = RuntimeEnvironmentHelper.IsLinux && 245? NuGetFolderPath.NuGetHome 246: NuGetFolderPath.Temp;
Migrations\Migration1.cs (1)
64var httpCachePath = NuGetEnvironment.GetFolderPath(NuGetFolderPath.HttpCacheDirectory);
PathUtil\NuGetEnvironment.cs (13)
31private static readonly ConcurrentDictionary<NuGetFolderPath, string> Cache = new ConcurrentDictionary<NuGetFolderPath, string>(); 88public static string GetFolderPath(NuGetFolderPath folder) 94private static string CalculateFolderPath(NuGetFolderPath folder) 98case NuGetFolderPath.MachineWideSettingsBaseDirectory: 116case NuGetFolderPath.MachineWideConfigDirectory: 118GetFolderPath(NuGetFolderPath.MachineWideSettingsBaseDirectory), 121case NuGetFolderPath.UserSettingsDirectory: 126case NuGetFolderPath.NuGetHome: 131case NuGetFolderPath.HttpCacheDirectory: 147case NuGetFolderPath.NuGetPluginsCacheDirectory: 163case NuGetFolderPath.DefaultMsBuildPath: 173case NuGetFolderPath.Temp:
PathUtil\PathUtility.cs (1)
455() => NuGetEnvironment.GetFolderPath(NuGetFolderPath.NuGetHome),
NuGet.Configuration (6)
Settings\ConfigurationDefaults.cs (1)
22var machineWideSettingsDir = NuGetEnvironment.GetFolderPath(NuGetFolderPath.MachineWideSettingsBaseDirectory);
Settings\Settings.cs (1)
639: NuGetEnvironment.GetFolderPath(NuGetFolderPath.UserSettingsDirectory);
Settings\XPlatMachineWideSetting.cs (1)
18var baseDirectory = NuGetEnvironment.GetFolderPath(NuGetFolderPath.MachineWideConfigDirectory);
Utility\SettingsUtility.cs (3)
303path = Path.Combine(NuGetEnvironment.GetFolderPath(NuGetFolderPath.NuGetHome), DefaultGlobalPackagesFolderPath); 393return NuGetEnvironment.GetFolderPath(NuGetFolderPath.HttpCacheDirectory); 415return NuGetEnvironment.GetFolderPath(NuGetFolderPath.NuGetPluginsCacheDirectory);
NuGet.Packaging (1)
PackageArchiveReader.cs (1)
363var dummyDestination = NuGetEnvironment.GetFolderPath(NuGetFolderPath.NuGetHome);
NuGet.ProjectModel (2)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
776var userSettingsDirectory = NuGetEnvironment.GetFolderPath(NuGetFolderPath.UserSettingsDirectory);
PackageSpecWriter.cs (1)
100var userSettingsDirectory = NuGetEnvironment.GetFolderPath(NuGetFolderPath.UserSettingsDirectory);
NuGet.Protocol (1)
Plugins\PluginDiscoveryUtility.cs (1)
66var nuGetHome = NuGetEnvironment.GetFolderPath(NuGetFolderPath.NuGetHome);