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