27 references to CliFolderPathCalculator
dotnet (22)
BuildServer\BuildServerProvider.cs (1)
78
CliFolderPathCalculator
.DotnetUserProfileFolderPath,
Commands\New\OptionalWorkloadProvider.cs (1)
38
string userProfileDir =
CliFolderPathCalculator
.DotnetUserProfileFolderPath;
Commands\Restore\RestoringCommand.cs (1)
43
userProfileDir =
CliFolderPathCalculator
.DotnetUserProfileFolderPath;
Commands\Workload\Install\WorkloadInstallerFactory.cs (1)
63
userProfileDir ??=
CliFolderPathCalculator
.DotnetUserProfileFolderPath;
Commands\Workload\Install\WorkloadManifestUpdater.cs (1)
174
var adUpdatesFile = GetAdvertisingWorkloadsFilePath(
CliFolderPathCalculator
.DotnetUserProfileFolderPath, featureBand);
Commands\Workload\Install\WorkloadResolverFactory.cs (1)
37
result.UserProfileDir =
CliFolderPathCalculator
.DotnetUserProfileFolderPath;
Commands\Workload\List\WorkloadListCommand.cs (1)
58
string userProfileDir1 = userProfileDir ??
CliFolderPathCalculator
.DotnetUserProfileFolderPath;
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (1)
73
CliFolderPathCalculator
.DotnetUserProfileFolderPath,
Commands\Workload\WorkloadInfoHelper.cs (1)
41
userProfileDir ??=
CliFolderPathCalculator
.DotnetUserProfileFolderPath;
ParserOptionActions.cs (2)
53
var home = Env.GetEnvironmentVariable(
CliFolderPathCalculator
.DotnetHomeVariableName);
57
Reporter.Verbose.WriteLine(string.Format(LocalizableStrings.DotnetCliHomeUsed, home,
CliFolderPathCalculator
.DotnetHomeVariableName));
Program.cs (1)
199
string toolPath = Path.Combine(
CliFolderPathCalculator
.DotnetUserProfileFolderPath, s_toolPathSentinelFileName);
SdkVulnerability\SdkReleaseMetadataCache.cs (1)
28
Path.Combine(
CliFolderPathCalculator
.DotnetUserProfileFolderPath, CacheDirectoryName),
ShellShim\EnvironmentPathFactory.cs (3)
38
CliFolderPathCalculator
.ToolsShimPathInUnix,
46
executablePath:
CliFolderPathCalculator
.ToolsShimPathInUnix,
63
executablePath:
CliFolderPathCalculator
.ToolsShimPathInUnix,
ShellShim\ShellShimRepositoryFactory.cs (1)
20
return new DirectoryPath(
CliFolderPathCalculator
.ToolsShimPath);
SudoEnvironmentDirectoryOverride.cs (2)
41
var homeBeforeOverride = Environment.GetEnvironmentVariable(
CliFolderPathCalculator
.DotnetHomeVariableName);
42
Environment.SetEnvironmentVariable(
CliFolderPathCalculator
.DotnetHomeVariableName, sudoHome);
Telemetry\TelemetryCommonProperties.cs (1)
72
{ MachineId, _userLevelCacheWriter.RunWithCacheInFilePath(Path.Combine(
CliFolderPathCalculator
.DotnetUserProfileFolderPath, $"{MachineIdCacheKey}.v1.dotnetUserLevelCache"), GetMachineId) },
ToolPackage\LocalToolsResolverCache.cs (1)
28
cacheDirectory ?? new DirectoryPath(Path.Combine(
CliFolderPathCalculator
.ToolsResolverCachePath));
ToolPackage\ToolPackageFactory.cs (1)
56
return new DirectoryPath(
CliFolderPathCalculator
.ToolsPackagePath);
Microsoft.DotNet.Configurer (3)
AspNetCertificateSentinel.cs (1)
20
CliFolderPathCalculator
.DotnetUserProfileFolderPath,
FirstTimeUseNoticeSentinel.cs (1)
20
CliFolderPathCalculator
.DotnetUserProfileFolderPath,
UserLevelCacheWriter.cs (1)
17
CliFolderPathCalculator
.DotnetUserProfileFolderPath,
Microsoft.TemplateEngine.Cli (2)
Commands\CliPathInfo.cs (2)
27
UserProfileDir =
CliFolderPathCalculator
.DotnetHomePath;
44
? Path.Combine(
CliFolderPathCalculator
.DotnetHomePath, ".templateengine")