46 references to CliFolderPathCalculator
dotnet (27)
BuildServer\BuildServerProvider.cs (1)
78CliFolderPathCalculator.DotnetUserProfileFolderPath,
Commands\New\OptionalWorkloadProvider.cs (1)
39string userProfileDir = CliFolderPathCalculator.DotnetUserProfileFolderPath;
Commands\Restore\RestoringCommand.cs (1)
42userProfileDir = CliFolderPathCalculator.DotnetUserProfileFolderPath;
Commands\Workload\Install\WorkloadInstallerFactory.cs (1)
49userProfileDir ??= CliFolderPathCalculator.DotnetUserProfileFolderPath;
Commands\Workload\Install\WorkloadManifestUpdater.cs (1)
163var adUpdatesFile = GetAdvertisingWorkloadsFilePath(CliFolderPathCalculator.DotnetUserProfileFolderPath, featureBand);
Commands\Workload\Install\WorkloadResolverFactory.cs (1)
37result.UserProfileDir = CliFolderPathCalculator.DotnetUserProfileFolderPath;
Commands\Workload\List\WorkloadListCommand.cs (1)
56string userProfileDir1 = userProfileDir ?? CliFolderPathCalculator.DotnetUserProfileFolderPath;
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (1)
71CliFolderPathCalculator.DotnetUserProfileFolderPath,
Commands\Workload\WorkloadInfoHelper.cs (1)
42userProfileDir ??= CliFolderPathCalculator.DotnetUserProfileFolderPath;
PerformanceLogManager.cs (1)
43Instance._perfLogRoot = Path.Combine(CliFolderPathCalculator.DotnetUserProfileFolderPath, PerfLogRoot);
Program.cs (3)
145IFileSentinel toolPathSentinel = new FileSentinel(new FilePath(Path.Combine(CliFolderPathCalculator.DotnetUserProfileFolderPath, ToolPathSentinelFileName))); 371var home = provider.GetEnvironmentVariable(CliFolderPathCalculator.DotnetHomeVariableName); 381CliFolderPathCalculator.DotnetHomeVariableName));
ShellShim\EnvironmentPathFactory.cs (7)
31CliFolderPathCalculator.ToolsShimPath, 32CliFolderPathCalculator.WindowsNonExpandedToolsShimPath, 41CliFolderPathCalculator.ToolsShimPathInUnix, 49executablePath: CliFolderPathCalculator.ToolsShimPathInUnix, 66executablePath: CliFolderPathCalculator.ToolsShimPathInUnix, 74CliFolderPathCalculator.ToolsShimPath, 75nonExpandedPackageExecutablePath: CliFolderPathCalculator.WindowsNonExpandedToolsShimPath,
ShellShim\ShellShimRepositoryFactory.cs (1)
20return new DirectoryPath(CliFolderPathCalculator.ToolsShimPath);
SudoEnvironmentDirectoryOverride.cs (2)
40var homeBeforeOverride = Environment.GetEnvironmentVariable(CliFolderPathCalculator.DotnetHomeVariableName); 41Environment.SetEnvironmentVariable(CliFolderPathCalculator.DotnetHomeVariableName, sudoHome);
Telemetry\PersistenceChannel\StorageService.cs (1)
92_storageDirectoryPath = Path.Combine(CliFolderPathCalculator.DotnetUserProfileFolderPath,
Telemetry\TelemetryCommonProperties.cs (1)
82CliFolderPathCalculator.DotnetUserProfileFolderPath,
ToolPackage\LocalToolsResolverCache.cs (1)
27cacheDirectory ?? new DirectoryPath(Path.Combine(CliFolderPathCalculator.ToolsResolverCachePath));
ToolPackage\ToolPackageFactory.cs (1)
56return new DirectoryPath(CliFolderPathCalculator.ToolsPackagePath);
dotnet.Tests (12)
BuildServerTests\BuildServerProviderTests.cs (1)
77CliFolderPathCalculator.DotnetUserProfileFolderPath,
CommandTests\Build\GivenDotnetBuildBuildsCsproj.cs (1)
382Path.Combine(CliFolderPathCalculator.DotnetHomePath, ".dotnet", "NuGetFallbackFolder")
ConfigurerTests\GivenAPathCalculator.cs (4)
12CliFolderPathCalculator.ToolsPackagePath.Should().NotBe(CliFolderPathCalculator.ToolsShimPath); 13CliFolderPathCalculator.ToolsPackagePath.Should().NotBe(CliFolderPathCalculator.ToolsShimPathInUnix.Path);
GivenThatDotNetRunsCommands.cs (3)
43.WithEnvironmentVariable(CliFolderPathCalculator.DotnetHomeVariableName, "") 57.WithEnvironmentVariable(CliFolderPathCalculator.DotnetHomeVariableName, home) 66CliFolderPathCalculator.DotnetHomeVariableName));
GivenThatTheUserIsRunningDotNetForTheFirstTime.cs (3)
35.WithEnvironmentVariable(CliFolderPathCalculator.DotnetHomeVariableName, testNuGetHome); 226$"export PATH=\"$PATH:{CliFolderPathCalculator.ToolsShimPathInUnix.PathWithDollar}\""); 241File.ReadAllText(pathsd).Should().Be(CliFolderPathCalculator.ToolsShimPathInUnix.PathWithTilde);
dotnet-new.IntegrationTests (1)
DotnetNewDebugOptionsTests.cs (1)
97string envVariable = CliFolderPathCalculator.DotnetHomePath;
Microsoft.DotNet.Configurer (3)
AspNetCertificateSentinel.cs (1)
20CliFolderPathCalculator.DotnetUserProfileFolderPath,
FirstTimeUseNoticeSentinel.cs (1)
20CliFolderPathCalculator.DotnetUserProfileFolderPath,
UserLevelCacheWriter.cs (1)
17CliFolderPathCalculator.DotnetUserProfileFolderPath,
Microsoft.NET.Build.Tests (1)
GivenThatWeWantToUseAnalyzers.cs (1)
350Path.Combine(CliFolderPathCalculator.DotnetHomePath, ".dotnet", "NuGetFallbackFolder"),
Microsoft.TemplateEngine.Cli (2)
Commands\CliPathInfo.cs (2)
27UserProfileDir = CliFolderPathCalculator.DotnetHomePath; 44? Path.Combine(CliFolderPathCalculator.DotnetHomePath, ".templateengine")