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