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