286 references to Combine
aspire (14)
Acquisition\InstallationCandidateSources.cs (1)
143var toolStore = Path.Combine(context.HomeDirectory.FullName, ".dotnet", "tools", ".store", "aspire.cli");
Certificates\CertificateGeneration\UnixCertificateManager.cs (2)
593return Path.Combine(homeDirectory, "snap", "chromium", "current", ".pki", "nssdb"); 603return Path.Combine(homeDirectory, "snap", "firefox", "common", ".mozilla", "firefox");
Profiling\ProfileCaptureService.cs (1)
207var managedPath = Path.Combine(
Projects\DotNetBasedAppHostServerProject.cs (2)
235var appHostInTargets = Path.Combine(_repoRoot, "src", "Aspire.Hosting.AppHost", "build", "Aspire.Hosting.AppHost.in.targets"); 236var sdkInTargets = Path.Combine(_repoRoot, "src", "Aspire.AppHost.Sdk", "SDK", "Sdk.in.targets");
src\Shared\BundleDiscovery.cs (1)
274var managedPath = Path.Combine(
src\Shared\UserSecrets\UserSecretsPathHelper.cs (2)
52? Path.Combine(root, "Microsoft", "UserSecrets", userSecretsId, SecretsFileName) 53: Path.Combine(root, ".microsoft", "usersecrets", userSecretsId, SecretsFileName);
Telemetry\InternalMicrosoftDetector.cs (5)
1075yield return Path.Combine(appData, product, "User", "globalStorage", "state.vscdb"); 1090yield return Path.Combine(home, "Library", "Application Support", product, "User", "globalStorage", "state.vscdb"); 1100yield return Path.Combine(configHome, product, "User", "globalStorage", "state.vscdb"); 1105yield return Path.Combine(home, ".vscode-server", "data", "User", "globalStorage", "state.vscdb"); 1106yield return Path.Combine(home, ".vscode-server-insiders", "data", "User", "globalStorage", "state.vscdb");
aspire-managed (1)
src\Shared\BundleDiscovery.cs (1)
274var managedPath = Path.Combine(
Aspire.Cli.EndToEnd.Tests (16)
AgentCommandTests.cs (2)
215var skillFilePath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", "aspire", "SKILL.md"); 218var deploymentSkillFilePath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", "aspire-deployment", "SKILL.md");
Helpers\CliE2ETestHelpers.cs (7)
335return Path.Combine(repoRoot, "tests", "Shared", "Docker", dockerfileName); 434var dockerfilePath = Path.Combine(repoRoot, "tests", "Shared", "Docker", "Dockerfile.e2e-polyglot-base"); 486var dockerfilePath = Path.Combine(repoRoot, "tests", "Shared", "Docker", "Dockerfile.e2e-podman"); 1008Path.Combine(repoRoot, "artifacts", "packages", "Debug", "Shipping"), 1009Path.Combine(repoRoot, "artifacts", "packages", "Release", "Shipping") 1076Path.Combine(repoRoot, "artifacts", "packages", "Debug", "Shipping"), 1077Path.Combine(repoRoot, "artifacts", "packages", "Release", "Shipping")
Helpers\CliInstallStrategyTests.cs (5)
254Assert.Equal(Path.Combine("/repo", "tests", "Shared", "Docker", "Dockerfile.e2e-polyglot-base"), options.DockerfilePath); 332Assert.Equal(Path.Combine("/repo", "tests", "Shared", "Docker", "Dockerfile.e2e-polyglot-base"), options.DockerfilePath); 347Assert.Equal(Path.Combine("/repo", "tests", "Shared", "Docker", "Dockerfile.e2e"), options.DockerfilePath); 377Assert.Equal(Path.Combine("/repo", "tests", "Shared", "Docker", "Dockerfile.e2e"), options.DockerfilePath); 392Assert.Equal(Path.Combine("/repo", "tests", "Shared", "Docker", "Dockerfile.e2e-polyglot-base"), options.DockerfilePath);
JavaScriptPublishTests.cs (1)
17private static readonly string s_fixturesDir = Path.Combine(
TypeScriptPublishTests.cs (1)
16private static readonly string s_jsPublishFixturesDir = Path.Combine(
Aspire.Cli.Tests (82)
Acquisition\InstallationDiscoveryDiscoverAllTests.cs (7)
276var prDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "dogfood", "pr-9999", "bin"); 366var prDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "dogfood", "pr-12345", "bin"); 400var prDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "dogfood", "pr-12345", "bin"); 509var binary = Path.Combine(workspace.WorkspaceRoot.FullName, "dogfood", labelName, "bin", "aspire"); 523var binary = Path.Combine(workspace.WorkspaceRoot.FullName, "staging", "pr-1234", "bin", "aspire"); 534var binary = Path.Combine(workspace.WorkspaceRoot.FullName, "dogfood", "pr-9876", "bin", "aspire"); 680var toolStore = Path.Combine(workspace.WorkspaceRoot.FullName, ".dotnet", "tools", ".store", "aspire.cli");
Agents\CommonAgentApplicatorsTests.cs (2)
142installExcludedRelativePaths: [Path.Combine("evals")]); 144Assert.Contains(bundleSkill.InstallExcludedRelativePaths, path => path == Path.Combine("evals"));
Agents\PlaywrightCliInstallerTests.cs (8)
661Assert.True(File.Exists(Path.Combine(tempDir, ".agents", "skills", "playwright-cli", "SKILL.md"))); 662Assert.True(File.Exists(Path.Combine(tempDir, ".agents", "skills", "playwright-cli", "subdir", "extra.md"))); 663Assert.Equal("# Playwright CLI Skill", await File.ReadAllTextAsync(Path.Combine(tempDir, ".agents", "skills", "playwright-cli", "SKILL.md"))); 666Assert.True(File.Exists(Path.Combine(tempDir, ".github", "skills", "playwright-cli", "SKILL.md"))); 667Assert.True(File.Exists(Path.Combine(tempDir, ".github", "skills", "playwright-cli", "subdir", "extra.md"))); 755Assert.True(File.Exists(Path.Combine(tempDir, ".agents", "skills", "playwright-cli", "SKILL.md"))); 973var deepDir = Path.Combine(tempDir, "a", "b", "c", "d", "e"); 986Assert.False(Directory.Exists(Path.Combine(tempDir, "a", "b", "c", "d")));
BundleServiceComputeDefaultExtractDirTests.cs (1)
130var ridDir = Path.Combine(
BundleServiceIntegrationTests.cs (1)
347var ridDir = Path.Combine(
Commands\AddCommandTests.cs (1)
2811var localPackagesDir = new DirectoryInfo(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "hives", PackageChannelNames.Local, "packages"));
Commands\DoctorCommandTests.cs (1)
434Path.Combine("level0", "level1", "level2", "level3", "level4", "level5", "AppHost.csproj"),
Commands\InitCommandTests.cs (1)
631var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md");
Commands\NewCommandTemplateConfigPersistenceTests.cs (1)
522var processPath = Path.Combine(installPrefix.FullName, "dogfood", PrChannelName, "bin", "aspire");
Commands\NewCommandTests.cs (8)
2367var aspireSkillPath = Path.Combine(outputDir, ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"); 2508var skillPath = Path.Combine(capturedOutputPath, ".agents", "skills", "aspire", "SKILL.md"); 2548var skillPath = Path.Combine(outputDir, ".agents", "skills", "aspire", "SKILL.md"); 3294var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"); 3320var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"); 3322var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireifySkillName, "SKILL.md"); 3348var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"); 3350var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireifySkillName, "SKILL.md");
Commands\SetupCommandTests.cs (1)
26var processPath = Path.Combine("home", ".aspire", "dogfood", "pr-12345", "bin", "aspire");
Commands\UpdateCommandTests.cs (2)
3340var storeExecutablePath = Path.Combine( 3362var binaryDir = Path.Combine(installPath, "nix", "store", "hash-aspire-cli", "lib", "aspire-cli");
DotNet\DotNetCliRunnerTests.cs (4)
168var appHostCommand = Path.Combine(workspace.WorkspaceRoot.FullName, "bin", "Debug", "net10.0", "AppHost"); 210var appHostAssembly = Path.Combine(workspace.WorkspaceRoot.FullName, "bin", "Debug", "net10.0", "AppHost.dll"); 311var cliDirectory = Directory.CreateDirectory(Path.Combine(workspace.WorkspaceRoot.FullName, "artifacts", "bin", "Aspire.Cli", "Debug", "net10.0")); 324var cliDirectory = Directory.CreateDirectory(Path.Combine(workspace.WorkspaceRoot.FullName, "artifacts", "bin", "Aspire.Cli", "Debug", "net10.0"));
Git\GitWorktreeTests.cs (4)
142Path.Combine(fixtureRoot, "physical", "primary", ".git", "worktrees", "feature")).FullName; 201var adminDirectory = Path.Combine(fixtureRoot, "primary", ".git", "WORKTREES", "feature"); 300var adminDirectory = Path.Combine(fixtureRoot, "primary", ".git", "modules", "dep"); 336Path.Combine(fixtureRoot, "primary", ".git", "worktrees", "stale"));
Npm\AspireJsLauncherTests.cs (4)
138var cachedBinaryPath = Path.Combine(layout.CacheDir, pointerVersion, rid, "bin", binaryName); 147var launcherScriptPath = Path.Combine(GetRepoRoot(), "eng", "clipack", "npm", "aspire.js"); 168var launcherScriptPath = Path.Combine(GetRepoRoot(), "eng", "clipack", "npm", "aspire.js"); 250var realLauncherPath = Path.Combine(GetRepoRoot(), "eng", "clipack", "npm", "aspire.js");
NuGet\BundleNuGetServiceTests.cs (3)
143var manifestPath = Path.Combine( 187var manifestPath = Path.Combine( 390var restoreDirectory = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "integrations", "package-restore", packageHash);
Packaging\PackagingServiceTests.cs (6)
1514var processPath = Path.Combine(installPrefix.FullName, "dogfood", prChannelName, "bin", "aspire"); 1561var processPath = Path.Combine(installPrefix.FullName, "dogfood", prChannelName, "bin", "aspire"); 1597var processPath = Path.Combine(installPrefix.FullName, "dogfood", prChannelName, "bin", "aspire"); 1633var processPath = Path.Combine(installPrefix.FullName, "dogfood", prChannelName, "bin", "aspire"); 1663var processPath = Path.Combine(installPrefix.FullName, "dogfood", installedPrChannelName, "bin", "aspire"); 1719var processPath = Path.Combine(installPrefix.FullName, "dogfood", prChannelName, "bin", "aspire");
ProfileCaptureOptionsTests.cs (2)
110var managedBaseDirectory = Directory.CreateDirectory(Path.Combine( 131var managedBaseDirectory = Directory.CreateDirectory(Path.Combine(
Projects\DotNetAppHostProjectTests.cs (4)
3402var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "inner", "proj", "OrdinaryLib.csproj"), """ 3445var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "inner", "proj", "OrdinaryLib.csproj"), """ 3969var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "inner", "proj", "OrdinaryLib.csproj"), """ 4057var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "repo", "proj", "OrdinaryLib.csproj"), """
Projects\GuestAppHostProjectTests.cs (1)
1657var expectedBundlePath = Path.Combine(
Projects\GuestRuntimeTests.cs (3)
1346var unreadable = Path.Combine(workspace.WorkspaceRoot.FullName, "src", "main", "java", "locked"); 1418var generated = Path.Combine(root.FullName, ".aspire", "modules", "com", "example"); 1422var sources = Path.Combine(root.FullName, "src", "main", "java", "com", "example");
Projects\LanguageInfoTests.cs (1)
101var deep = Path.Combine(workspace.WorkspaceRoot.FullName, "a", "b", "c", "d", "e", "f");
Projects\ProjectLocatorTests.cs (1)
2925var nugetCacheDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".nuget", "packages",
Templating\JavaAppHostTemplateTests.cs (2)
167=> Path.Combine(GetRepoRoot(), "src", "Aspire.Cli", "Templating", "Templates", "java-starter"); 170=> Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", ".."));
Templating\TemplateGitIgnoreTests.cs (2)
14var filePath = Path.Combine(GetRepoRoot(), "src", "Aspire.Cli", "Templating", "Templates", templateName, ".gitignore"); 23=> Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", ".."));
Templating\TemplatePackageLockTests.cs (6)
16var filePath = Path.Combine( 42var filePath = Path.Combine( 75var filePath = Path.Combine( 90var filePath = Path.Combine( 108var filePath = Path.Combine( 142=> Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", ".."));
Utils\AppHostHelperTests.cs (2)
95var oldSocketPath = Path.Combine(homeDirectory, ".aspire", "cli", "backchannels", "auxi.sock.3a579b6853b74a71.fee67dd76369.26688"); 430var liveSocket = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch", $"{appHostId}a1b2C3d4.{currentPid}");
Utils\CliUpdateNotificationServiceTests.cs (1)
410var storeExecutablePath = Path.Combine(
Utils\DotNetToolDetectionTests.cs (2)
30var storeExecutablePath = Path.Combine( 56var processPath = Path.Combine(
Aspire.Deployment.EndToEnd.Tests (1)
Helpers\DeploymentE2ETestHelpers.cs (1)
199candidates.Add(Path.Combine(home, ".aspire", "dogfood", $"pr-{prNumber}", "bin", "aspire"));
Aspire.Hosting.RemoteHost.Tests (24)
CodeGeneration\ApiReferenceExportTests.cs (1)
286var destinationDirectory = Path.Combine([packageAssetsPath, .. assetPathSegments]);
IntegrationLoadContextTests.cs (1)
75var nativeLibraryPath = Path.Combine(manifestDirectory.FullName, "runtimes", "linux-x64", "native", "libe_sqlite3.so");
LayoutCommandTests.cs (21)
24Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", "unix", "lib", "net10.0")); 25Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", "win", "lib", "net10.0")); 29await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", "unix", "lib", "net10.0", "Test.Package.dll"), "unix"); 30await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", "win", "lib", "net10.0", "Test.Package.dll"), "win"); 31await File.WriteAllTextAsync(Path.Combine(packageRoot, "lib", "net10.0", "fr", "Test.Package.resources.dll"), "fr"); 32await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", GetCurrentRuntimeIdentifier(), "native", GetNativeFileName()), "runtime-native"); 54await File.ReadAllTextAsync(Path.Combine(outputPath, "runtimes", GetExpectedRuntimeAssetRid(), "lib", "net10.0", "Test.Package.dll"))); 57await File.ReadAllTextAsync(Path.Combine(outputPath, "runtimes", GetCurrentRuntimeIdentifier(), "native", GetNativeFileName()))); 77Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", "unix", "lib", "net10.0")); 78Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", "win", "lib", "net10.0")); 81await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", "unix", "lib", "net10.0", "Test.Package.dll"), "unix"); 82await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", "win", "lib", "net10.0", "Test.Package.dll"), "win"); 157Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", "unix", "lib", "net10.0")); 158Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", "win", "lib", "net10.0")); 162await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", "unix", "lib", "net10.0", "Test.Package.dll"), "unix"); 163await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", "win", "lib", "net10.0", "Test.Package.dll"), "win"); 164await File.WriteAllTextAsync(Path.Combine(packageRoot, "lib", "net10.0", "fr", "Test.Package.resources.dll"), "fr"); 165await File.WriteAllTextAsync(Path.Combine(packageRoot, "runtimes", GetCurrentRuntimeIdentifier(), "native", GetNativeFileName()), "runtime-native"); 196assembly.GetProperty("path").GetString() == Path.Combine(packageRoot, "lib", "net10.0", "fr", "Test.Package.resources.dll")); 202nativeLibrary.GetProperty("path").GetString() == Path.Combine(packageRoot, "runtimes", GetCurrentRuntimeIdentifier(), "native", GetNativeFileName())); 259var expectedAssemblyPath = Path.Combine(GetPackageFolderFromAssets(assetsPath), "test.package", "1.0.0", "lib", "net10.0", "Test.Package.dll");
RestoreCommandTests.cs (1)
74Path.Combine(packageId.ToLowerInvariant(), "1.0.0", "lib", "net10.0", "Test.Package.dll"),
Crossgen2Tasks (15)
ResolveReadyToRunCompilers.cs (15)
301_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "clrjit.dll"); 302_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.arm.dll"); 308_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x86_arm", "native", "clrjit.dll"); 309_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x86_arm", "native", "Microsoft.DiaSymReader.Native.x86.dll"); 317_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "clrjit.dll"); 318_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.arm64.dll"); 329_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x64_arm64", "native", "clrjit.dll"); 330_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x64_arm64", "native", "Microsoft.DiaSymReader.Native.amd64.dll"); 336_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "clrjit.dll"); 339_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.amd64.dll"); 343_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.x86.dll"); 354_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "libclrjit.so"); 360_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", xarchPath, "native", "libclrjit.so"); 370_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "libclrjit.so"); 382_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "libclrjit.dylib");
dotnet (11)
Commands\Solution\Add\SolutionAddCommand.cs (1)
101relativeSolutionFolderPath = Path.Combine([.. relativeSolutionFolderPath.Split(Path.DirectorySeparatorChar).SkipLast(1)]);
Commands\Workload\FileBasedWorkloadInstallationRecordRepositoryFactory.cs (1)
27=> File.Exists(Path.Combine(dotnetDir, "metadata", "workloads", sdkFeatureBand.ToString(), "userlocal"));
Commands\Workload\Install\FileBasedInstaller.cs (5)
108var workloadSetPath = Path.Combine(_workloadRootDir, "sdk-manifests", workloadSetFeatureBand.ToString(), "workloadsets", workloadSetVersion); 697Path.Combine(_workloadMetadataDir, InstalledWorkloadSetsDir, "v1", workloadSetVersion, workloadSetFeatureBand.ToString(), referencingFeatureBand.ToString()); 748Path.Combine(_workloadMetadataDir, InstalledManifestsDir, "v1", manifestId.ToString(), manifestVersion.ToString(), featureBand.ToString(), referencingFeatureBand.ToString()); 804Path.Combine(_workloadMetadataDir, InstalledPacksDir, "v1", packId, packVersion, featureBand.ToString()); 874var packInstallRecordDir = Path.Combine(_workloadMetadataDir, InstalledPacksDir, "v1", packInfo.Id, packInfo.Version);
src\sdk\src\Common\WorkloadFileBasedInstall.cs (1)
44return Path.Combine(dotnetDir, "metadata", "workloads", new SdkFeatureBand(sdkFeatureBand).ToString(), "userlocal");
Telemetry\DevDeviceIDGetter.cs (2)
71string cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Microsoft", "DeveloperTools", "deviceid"); 116string cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Microsoft", "DeveloperTools", "deviceid");
ToolPackage\LocalToolsResolverCache.cs (1)
28cacheDirectory ?? new DirectoryPath(Path.Combine(CliFolderPathCalculator.ToolsResolverCachePath));
dotnet-aot (4)
src\sdk\src\Cli\dotnet\Commands\Workload\FileBasedWorkloadInstallationRecordRepositoryFactory.cs (1)
27=> File.Exists(Path.Combine(dotnetDir, "metadata", "workloads", sdkFeatureBand.ToString(), "userlocal"));
src\sdk\src\Cli\dotnet\Telemetry\DevDeviceIDGetter.cs (2)
71string cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Microsoft", "DeveloperTools", "deviceid"); 116string cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Microsoft", "DeveloperTools", "deviceid");
src\sdk\src\Cli\dotnet\ToolPackage\LocalToolsResolverCache.cs (1)
28cacheDirectory ?? new DirectoryPath(Path.Combine(CliFolderPathCalculator.ToolsResolverCachePath));
dotnet-dev-certs (3)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
566return Path.Combine(homeDirectory, "snap", "chromium", "current", ".pki", "nssdb"); 576return Path.Combine(homeDirectory, "snap", "firefox", "common", ".mozilla", "firefox");
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
dotnet-getdocument (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
dotnet-openapi (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
dotnet-sql-cache (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
dotnet-user-jwts (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
dotnet-user-secrets (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
dotnet-watch (1)
Program.cs (1)
40sdkRootDirectory = Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "..");
GenerateAnalyzerNuspec (2)
Program.cs (2)
162string resourceAssemblyPathForNuspec = Path.Combine(artifactsBinDir, assemblyNameWithoutExtension, configuration, tfm, directoryName, resourceAssemblyName); 189var fileWithPath = Path.Combine(artifactsBinDir, Path.GetFileNameWithoutExtension(file), configuration, tfm, file);
GenerateDocumentationAndConfigFiles (1)
Program.cs (1)
274string path = Path.Combine(args.BinDirectory, assemblyName, args.Configuration, args.Tfm, assembly);
GetDocument.Insider (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
Infrastructure.Tests (27)
Pipelines\NpmCliPackageTests.cs (1)
513Path.Combine(_repoRoot, "eng", "clipack", "npm", "aspire.js"),
PowerShellScripts\AspireSkillsBundleHashTests.cs (1)
71var hooksDir = Path.Combine(RepoRoot.Path, "src", "Aspire.Cli", "Agents", "Hooks");
PowerShellScripts\DownloadNativeArchivesTests.cs (4)
236Assert.True(File.Exists(Path.Combine( 272Assert.True(File.Exists(Path.Combine( 335Assert.True(File.Exists(Path.Combine( 373Assert.True(File.Exists(Path.Combine(
PowerShellScripts\StageNativeCliToolPackagesTests.cs (1)
332var path = Path.Combine([downloadRoot, .. pathParts]);
PowerShellScripts\TrustedExtensionReleasePrTests.cs (1)
32_scriptPath = Path.Combine(
TestTriggerMap\SelectTestsCliTests.cs (1)
403var unwritableSummary = Path.Combine(repoRoot, "no", "such", "dir", "summary.md");
TestTriggerMap\SelectTestsWorkflowTests.cs (1)
136=> Path.Combine(RepoRoot.Path, ".github", "actions", "select-tests", "action.yml");
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
28_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "auto-rerun-transient-ci-failures.harness.js");
WorkflowScripts\CreateFailingTestIssueWorkflowTests.cs (1)
27_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "create-failing-test-issue.harness.js");
WorkflowScripts\ExtensionReleaseFastPathWorkflowTests.cs (1)
393=> Path.Combine([RepoRoot.Path, .. path]);
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (3)
17private static readonly string s_releaseNotesGeneratorPath = Path.Combine( 23private static readonly string s_applyTriggerLabelScriptPath = Path.Combine( 29private static readonly string s_prBodyValidatorPath = Path.Combine(
WorkflowScripts\MonitorScheduledWorkflowsIntegrationTests.cs (1)
39_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "monitor-scheduled-workflows.integration.harness.js");
WorkflowScripts\MonitorScheduledWorkflowsTests.cs (1)
28_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "monitor-scheduled-workflows.harness.js");
WorkflowScripts\PrDocsCheckWorkflowTests.cs (1)
82Path.Combine(RepoRoot.Path, ".github", "workflows", "pr-docs-check", "validate_outcome.py"));
WorkflowScripts\ReportCiFailureIntegrationTests.cs (1)
35_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "report-ci-failure.integration.harness.js");
WorkflowScripts\ReportCiFailureTests.cs (1)
29_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "report-ci-failure.harness.js");
WorkflowScripts\ReportPipelineFailureIntegrationTests.cs (1)
35_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "report-pipeline-failure.integration.harness.js");
WorkflowScripts\ReportPipelineFailureTests.cs (1)
28_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "report-pipeline-failure.harness.js");
WorkflowScripts\ReportSpecializedTestFailuresTests.cs (1)
28_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "report-specialized-test-failures.harness.js");
WorkflowScripts\SelectTestsCommentScriptTests.cs (1)
33_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "select-tests-comment.harness.js");
WorkflowScripts\SpecializedTestFailureRunnerTests.cs (1)
36_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "specialized-test-failure-runner.harness.js");
WorkflowScripts\TrackingIssueTests.cs (1)
30_harnessPath = Path.Combine(_repoRoot, "tests", "Infrastructure.Tests", "WorkflowScripts", "tracking-issue.harness.js");
Microsoft.Agents.AI.ProjectTemplates.Tests (3)
TemplateSnapshotTestBase.cs (1)
26string workingDir = Path.Combine(WellKnownPaths.ProjectTemplatesArtifactsRoot, templatePackageName, "Snapshots", templateName, $"{templateName}.{scenarioName}");
WellKnownPaths.cs (2)
34TemplateSandboxSource = Path.Combine(RepoRoot, "test", "ProjectTemplates", "Infrastructure", "TemplateSandbox"); 37LocalShippingPackagesPath = Path.Combine(RepoRoot, "artifacts", "packages", BuildConfigurationFolder, "Shipping");
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
src\aspnetcore\src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
77var candidateDotNetExePath = Path.Combine(runtimeDirectory, "..", "..", "..", expectedFileName);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
566return Path.Combine(homeDirectory, "snap", "chromium", "current", ".pki", "nssdb"); 576return Path.Combine(homeDirectory, "snap", "firefox", "common", ".mozilla", "firefox");
Microsoft.AspNetCore.Server.IntegrationTesting (1)
xunit\IISExpressAncmSchema.cs (1)
21var ancmConfigPath = Path.Combine(
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
566return Path.Combine(homeDirectory, "snap", "chromium", "current", ".pki", "nssdb"); 576return Path.Combine(homeDirectory, "snap", "firefox", "common", ".mozilla", "firefox");
Microsoft.Build (1)
Evaluation\Expander\WellKnownFunctions.cs (1)
62returnVal = Path.Combine(arg0);
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
849propsFileLocation = Path.Combine(sdkRoot, designTimeFolderName, commonConfigurationFolderName, neutralArchitectureName, targetPlatformIdentifier, targetPlatformVersion);
Microsoft.CodeAnalysis.Features (4)
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.State.cs (1)
161var folderPath = Path.Combine([.. document.Folders]);
PdbSourceDocument\ImplementationAssemblyLookupService.cs (3)
156var frameworkXml = Path.Combine(referencedDllPath, "..", "..", "..", "data", "FrameworkList.xml"); 180var basePath = Path.GetFullPath(Path.Combine(referencedDllPath, "..", "..", "..", "..", "..", "..")); 181var dllPath = Path.Combine(basePath, "shared", sdkName, packVersion, dllFileName);
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Host\PersistentStorage\IPersistentStorageConfiguration.cs (1)
51s_cacheDirectory = Path.Combine(appDataFolder, "Microsoft", "VisualStudio", "Roslyn", "Cache");
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
1038private static string CreateDirectoryPathFragment(params string[] paths) => Path.Combine([" ", .. paths, " "]).Trim();
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\BuildHostProcessManager.cs (1)
321buildHostPath = Path.GetFullPath(Path.Combine(MSBuildWorkspaceDirectory, "..", "..", "contentFiles", "any", "any", contentFolderName, assemblyName));
MSBuild\MSBuildWorkspace.cs (1)
492? Path.Combine(Path.Combine([.. info.Folders]), fileName)
Microsoft.DotNet.CMake.Sdk (2)
src\CreateCMakeFileApiQuery.cs (1)
28string queryDir = Path.Combine(CMakeOutputDir, ".cmake", "api", "v1", "query", "client-Microsoft.DotNet.CMake.Sdk");
src\GetCMakeArtifactsFromFileApi.cs (1)
48string replyDir = Path.Combine(CMakeOutputDir, ".cmake", "api", "v1", "reply");
Microsoft.DotNet.HotReload.Watch (1)
HotReload\HotReloadDotNetWatcher.cs (1)
1148var solutionFile = Path.Combine(Path.GetTempFileName() + ".slnx");
Microsoft.DotNet.InternalAbstractions (1)
TemporaryDirectory.cs (1)
14DirectoryPath = Path.Combine(CreateSubdirectory());
Microsoft.DotNet.TemplateLocator (4)
src\sdk\src\Common\WorkloadFileBasedInstall.cs (1)
44return Path.Combine(dotnetDir, "metadata", "workloads", new SdkFeatureBand(sdkFeatureBand).ToString(), "userlocal");
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadInstallType.cs (3)
29dotnetDir is not null && File.Exists(Path.Combine( 40return Path.Combine(dotnetDir, "metadata", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState"); 44return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "dotnet", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState");
Microsoft.Extensions.AI.Evaluation.Console (1)
Telemetry\DeviceIdHelper.cs (1)
161Path.Combine(userProfilePath, "Library", "Application Support", "Microsoft", "DeveloperTools");
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (1)
DiskBased\PathValidationTests.cs (1)
122string child = Path.Combine(root, "a", "b", "c", "d.json");
Microsoft.Extensions.AI.Templates.Tests (3)
TemplateSnapshotTestBase.cs (1)
26string workingDir = Path.Combine(WellKnownPaths.ProjectTemplatesArtifactsRoot, templatePackageName, "Snapshots", templateName, $"{templateName}.{scenarioName}");
WellKnownPaths.cs (2)
34TemplateSandboxSource = Path.Combine(RepoRoot, "test", "ProjectTemplates", "Infrastructure", "TemplateSandbox"); 37LocalShippingPackagesPath = Path.Combine(RepoRoot, "artifacts", "packages", BuildConfigurationFolder, "Shipping");
Microsoft.Extensions.Configuration.UserSecrets (2)
PathHelper.cs (2)
79? Path.Combine(root, "Microsoft", "UserSecrets", userSecretsId, SecretsFileName) 80: Path.Combine(root, ".microsoft", "usersecrets", userSecretsId, SecretsFileName);
Microsoft.Extensions.DataIngestion.Tests (1)
IngestionPipelineTests.cs (1)
32_sampleDirectory = Directory.CreateDirectory(Path.Combine("TestFiles"));
Microsoft.Extensions.Http.Resilience.Tests (2)
BuildTransitive\GrpcNetClientFactoryVersionTargetTests.cs (2)
396return Path.Combine( 419var targetPath = Path.Combine(
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsSrvServiceEndpointProviderFactory.cs (2)
17private static readonly string s_serviceAccountPath = Path.Combine($"{Path.DirectorySeparatorChar}var", "run", "secrets", "kubernetes.io", "serviceaccount"); 18private static readonly string s_serviceAccountNamespacePath = Path.Combine($"{Path.DirectorySeparatorChar}var", "run", "secrets", "kubernetes.io", "serviceaccount", "namespace");
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
553var modelFile = Path.Combine(@"unknowndimensions/linear_regression.onnx");
Microsoft.ML.PerformanceTests (1)
Harness\ProjectGenerator.cs (1)
64=> Path.Combine(buildArtifactsDirectoryPath, "bin", configuration, TargetFrameworkMoniker, _runtimeIdentifier);
Microsoft.NET.Build.Tasks (19)
ResolveReadyToRunCompilers.cs (15)
322_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "clrjit.dll"); 323_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.arm.dll"); 329_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x86_arm", "native", "clrjit.dll"); 330_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x86_arm", "native", "Microsoft.DiaSymReader.Native.x86.dll"); 338_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "clrjit.dll"); 339_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.arm64.dll"); 350_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x64_arm64", "native", "clrjit.dll"); 351_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", "x64_arm64", "native", "Microsoft.DiaSymReader.Native.amd64.dll"); 357_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "clrjit.dll"); 360_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.amd64.dll"); 364_crossgenTool.DiaSymReaderPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "Microsoft.DiaSymReader.Native.x86.dll"); 375_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "libclrjit.so"); 381_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", xarchPath, "native", "libclrjit.so"); 391_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "libclrjit.so"); 403_crossgenTool.ClrJitPath = Path.Combine(_crossgenTool.PackagePath, "runtimes", _targetRuntimeIdentifier, "native", "libclrjit.dylib");
src\sdk\src\Common\WorkloadFileBasedInstall.cs (1)
44return Path.Combine(dotnetDir, "metadata", "workloads", new SdkFeatureBand(sdkFeatureBand).ToString(), "userlocal");
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadInstallType.cs (3)
29dotnetDir is not null && File.Exists(Path.Combine( 40return Path.Combine(dotnetDir, "metadata", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState"); 44return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "dotnet", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState");
Microsoft.NET.Sdk.WorkloadManifestReader (4)
src\sdk\src\Common\WorkloadFileBasedInstall.cs (1)
44return Path.Combine(dotnetDir, "metadata", "workloads", new SdkFeatureBand(sdkFeatureBand).ToString(), "userlocal");
WorkloadInstallType.cs (3)
29dotnetDir is not null && File.Exists(Path.Combine( 40return Path.Combine(dotnetDir, "metadata", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState"); 44return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "dotnet", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState");
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (1)
src\sdk\src\Common\WorkloadFileBasedInstall.cs (1)
44return Path.Combine(dotnetDir, "metadata", "workloads", new SdkFeatureBand(sdkFeatureBand).ToString(), "userlocal");
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameCollector.cs (1)
736var dumpPath = Path.Combine(Path.GetFullPath(dumpDirectory));
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Hosting\DotnetTestHostManager.cs (2)
385var testHostExeNugetPath = Path.Combine(testHostNugetRoot.FullName, "build", "net8.0", folderName, exeName); 388testHostExeNugetPath = Path.Combine(testHostNugetRoot.FullName, "build", "net9.0", folderName, exeName);
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\InstallationContext.cs (1)
56Path.Combine(visualStudioDirectory, "CommonExtensions", "Microsoft", "TeamFoundation", "Team Explorer"),
NuGet.Commands (1)
CommandRunners\PackCommandRunner.cs (1)
252string sha512OutputPath = Path.Combine(outputPath + ".sha512");
NuGet.Common (2)
Migrations\MigrationRunner.cs (1)
98? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share", "NuGet", "Migrations")
PathUtil\NuGetEnvironment.cs (1)
171return Path.Combine(programFilesPath, "MSBuild", "14.0", "Bin", "MSBuild.exe");
RepoTasks (2)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
566return Path.Combine(homeDirectory, "snap", "chromium", "current", ".pki", "nssdb"); 576return Path.Combine(homeDirectory, "snap", "firefox", "common", ".mozilla", "firefox");
ResultsOfTGenerator (2)
Program.cs (2)
17var classTargetFilePath = Path.Combine(pwd, "..", "..", "src", "ResultsOfT.Generated.cs"); 18var testsTargetFilePath = Path.Combine(pwd, "..", "..", "test", "ResultsOfTTests.Generated.cs");
rzc (1)
Program.cs (1)
65var roslynPath = Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "Roslyn", "bincore");
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (1)
374return Combine((ReadOnlySpan<string>)paths);