469 references to Combine
aspire (14)
Agents\AspireSkills\AspireSkillsBundleProvider.cs (1)
279var fullPath = Path.Combine(bundleDirectory.FullName, SkillsDirectoryName, skillName, relativePath);
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
36private static readonly string s_macOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
812return Path.Combine(homeDirectory, ".aspnet", "dev-certs", "trust");
Certificates\CertificateHelpers.cs (2)
32internal static string AspireDevCertsHttpsCacheDirectory { get; } = Path.Combine( 38private static readonly string s_defaultDevCertsTrustPath = Path.Combine(
Packaging\PackagingService.cs (1)
326var packagesDirectory = new DirectoryInfo(Path.Combine(installPrefix.FullName, "hives", identityChannel, "packages"));
Projects\DotNetBasedAppHostServerProject.cs (4)
194var projectPath = Path.Combine(_repoRoot, "src", integration.Name, $"{integration.Name}.csproj"); 213var hostingPath = Path.Combine(_repoRoot, "src", "Aspire.Hosting", "Aspire.Hosting.csproj"); 248var dashboardProject = Path.Combine(_repoRoot, "src", "Aspire.Dashboard", "Aspire.Dashboard.csproj"); 255var remoteHostProject = Path.Combine(_repoRoot, "src", "Aspire.Hosting.RemoteHost", "Aspire.Hosting.RemoteHost.csproj");
Projects\JavaAppHostToolchainResolver.cs (1)
532JavaAppHostToolchain.Gradle => Path.Combine("build", "classes", "java", "main"),
src\Shared\BackchannelConstants.cs (2)
103=> Path.Combine(homeDirectory, ".aspire", "cli", "bch"); 111=> Path.Combine(homeDirectory, ".aspire", "cli", "backchannels");
Telemetry\TelemetryManager.cs (1)
238return Path.Combine(homeDirectory, ".aspire", "cli", "telemetrystorage");
Aspire.Acquisition.Tests (13)
Scripts\PRScriptInstallE2ETests.cs (1)
56var binDir = Path.Combine(installPrefix, "dogfood", "pr-16817", "bin");
Scripts\PRScriptInstallerModeTests.cs (4)
776Assert.Contains(await GetSha256HexAsync(Path.Combine(archiveRoot, "Debug", "Shipping", "aspire-cli-win-x64-13.3.0.zip")), installerManifest); 777Assert.Contains(await GetSha256HexAsync(Path.Combine(archiveRoot, "Debug", "Shipping", "aspire-cli-win-arm64-13.3.0.zip")), installerManifest); 875var x64Archive = Path.Combine(archiveRoot, "Debug", "Shipping", "aspire-cli-win-x64-13.3.0.zip"); 953var x64Archive = Path.Combine(archiveRoot, "Debug", "Shipping", "aspire-cli-win-x64-13.3.0.zip");
Scripts\PRScriptPowerShellTests.cs (2)
523var binDir = Path.Combine(customPath, "dogfood", "pr-99999", "bin"); 620var binSidecar = Path.Combine(env.MockHome, ".aspire", "bin", ".aspire-install.json");
Scripts\PRScriptShellTests.cs (2)
529var scriptRouteBin = Path.Combine(env.MockHome, ".aspire", "bin", "aspire"); 685var binSidecar = Path.Combine(env.MockHome, ".aspire", "bin", ".aspire-install.json");
Scripts\ReleaseScriptPowerShellTests.cs (2)
407var sidecarPath = Path.Combine(env.MockHome, ".aspire", "bin", ".aspire-install.json"); 425var sidecarPath = Path.Combine(env.MockHome, ".aspire", "bin", ".aspire-install.json");
Scripts\ReleaseScriptShellTests.cs (2)
341var sidecarPath = Path.Combine(env.MockHome, ".aspire", "bin", ".aspire-install.json"); 361var sidecarPath = Path.Combine(env.MockHome, ".aspire", "bin", ".aspire-install.json");
Aspire.Cli.EndToEnd.Tests (10)
AgentMcpExcludeFromMcpTests.cs (1)
37var appHostFilePath = Path.Combine(workspace.WorkspaceRoot.FullName, "McpExcludeApp", "McpExcludeApp.AppHost", "AppHost.cs");
Helpers\CliE2EAutomatorHelpers.cs (2)
433var localDirPrScript = AspireCliShellCommandHelpers.QuoteBashArg(Path.Combine(CliE2ETestHelpers.GetRepoRoot(), "eng", "scripts", "get-aspire-cli-pr.sh")); 442var getAspireCliScript = AspireCliShellCommandHelpers.QuoteBashArg(Path.Combine(CliE2ETestHelpers.GetRepoRoot(), "eng", "scripts", "get-aspire-cli.sh"));
Helpers\KubernetesDeployTestHelpers.cs (1)
468kindProcess.StartInfo.FileName = Path.Combine(
KubernetesDeployTypeScriptWithPersistentVolumeTests.cs (1)
92var apiIndexFilePath = Path.Combine(projectDir, "api", "src", "index.ts");
KubernetesPublishTests.cs (2)
299cleanupProcess.StartInfo.FileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "bin", "kind"); 340var appHostFilePath = Path.Combine(
McpDocsE2ETests.cs (1)
30var cliProjectPath = Path.Combine(repoRoot, "src", "Aspire.Cli", "Aspire.Cli.csproj");
RadiusDeployTests.cs (1)
144var appBicepPath = Path.Combine(workspace.WorkspaceRoot.FullName, ProjectName, "radius-output", "app.bicep");
tests\Shared\Hex1bTestHelpers.cs (1)
131recordingsDir = Path.Combine(AppContext.BaseDirectory, "TestResults", "recordings", localSubDir);
Aspire.Cli.Tests (164)
Acquisition\InstallationDiscoveryDiscoverAllTests.cs (3)
435var brewDir = Path.Combine(workspace.WorkspaceRoot.FullName, "Caskroom", "aspire", "13.4.0-pr.17115.gcd700928"); 471var brewDir = Path.Combine(workspace.WorkspaceRoot.FullName, "Caskroom", "aspire", "13.4.0"); 606var staleDogfoodDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "dogfood", "pr-9999");
Agents\AspireSkillsBundleTests.cs (3)
510await File.WriteAllTextAsync(Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"), CreateSkillFileContent()); 804var skillPath = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"); 899Sha512 = ComputeSha512(Path.Combine(bundleDirectory, "skills", skillName, "SKILL.md"))
Agents\AspireSkillsInstallerTests.cs (2)
554var staleCacheDirectory = Path.Combine( 2111File.Delete(Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md"));
Agents\PlaywrightCliInstallerTests.cs (10)
635var skillDir = Path.Combine(repoRoot, ".claude", "skills", "playwright-cli"); 732var skillDir = Path.Combine(repoRoot, ".claude", "skills", "playwright-cli"); 758Assert.False(Directory.Exists(Path.Combine(tempDir, ".claude", "skills", "playwright-cli"))); 778var preExistingDir = Path.Combine(tempDir, ".claude", "skills", "playwright-cli"); 833var skillDir = Path.Combine(repoRoot, ".claude", "skills", "playwright-cli"); 877var skillDir = Path.Combine(tempDir, ".claude", "skills", "playwright-cli"); 909var skillDir = Path.Combine(tempDir, ".claude", "skills", "playwright-cli"); 911Directory.CreateDirectory(Path.Combine(tempDir, ".claude", "skills", "other-skill")); 921Assert.True(Directory.Exists(Path.Combine(tempDir, ".claude", "skills", "other-skill"))); 987Assert.False(Directory.Exists(Path.Combine(tempDir, "a", "b", "c")));
Agents\TelemetryHookConfiguratorTests.cs (1)
27var hookFile = Path.Combine(home.FullName, ".copilot", "hooks", "aspire-telemetry.json");
AssemblyMetadataChannelTests.cs (1)
41var csprojPath = Path.Combine(GetRepoRoot(), "src", "Aspire.Cli", "Aspire.Cli.csproj");
Backchannel\AppHostConnectionResolverTests.cs (1)
521var backchannelsDir = Path.Combine(homeDirectory.FullName, ".aspire", "cli", "bch");
Backchannel\AuxiliaryBackchannelMonitorTests.cs (1)
102Path.Combine(primaryRoot, ".git", "modules", "dep"));
BundleServiceComputeDefaultExtractDirTests.cs (2)
103var cellarDir = Path.Combine(workspace.Path, "Caskroom", "aspire", "13.2.0"); 160var prefixDir = Path.Combine(workspace.Path, "nix", "store", "aspire");
BundleServiceIntegrationTests.cs (2)
151var managedExe = Path.Combine(layoutRoot, BundleDiscovery.BundleDirectoryName, 404var binaryDir = Path.Combine(workspace.WorkspaceRoot.FullName, "opt", "aspire-readonly", "bin");
Caching\AppHostInfoDiskCacheTests.cs (4)
58var cacheDirectory = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "apphost-info"); 212var cacheDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "apphost-info"); 249var cacheDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "apphost-info"); 749$"gitdir: {Path.Combine(workspace.WorkspaceRoot.FullName, ".git", "worktrees", "worktree-root")}");
Caching\DiskCacheTests.cs (2)
70var diskPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "nuget-search"); 116var diskPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "nuget-search");
Certificates\DeveloperCertificateCacheWriteTests.cs (1)
27var userHttpsCertificateLocation = Path.Combine(homePath, ".aspnet", "dev-certs", "https");
CliBootstrapTests.cs (2)
123var binaryPath = WriteBinaryWithSidecar(Path.Combine(installPrefix, "dogfood", "pr-17159", "bin"), InstallSourceExtensions.PrWire); 136var binaryDir = Path.Combine(installPrefix, "dogfood", "pr-17159", "bin");
Commands\AddCommandTests.cs (1)
912Directory.CreateDirectory(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "hives", "test-hive"));
Commands\AgentInitCommandTests.cs (9)
129var expectedSkillDirectoryPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 518var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 581var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 621var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 750var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 770var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 829var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 835var skillPath = Path.Combine(workspaceRoot.FullName, relativeSkillDirectory, skillName, "SKILL.md"); 917var hookFile = Path.Combine(homeDirectory.FullName, ".copilot", "hooks", "aspire-telemetry.json");
Commands\AppHostLauncherTests.cs (1)
1249var backchannelsDir = Path.Combine(_homeDirectory.FullName, ".aspire", "cli", "bch");
Commands\CacheCommandTests.cs (1)
70var appHostInfoCacheDir = new DirectoryInfo(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "apphost-info"));
Commands\ExportCommandTests.cs (1)
192AppHostPath = Path.Combine("C:", "other", "OtherAppHost", "OtherAppHost.csproj"),
Commands\InitCommandTests.cs (3)
589var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 592var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 635var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName);
Commands\NewCommandTemplateConfigPersistenceTests.cs (1)
526var packagesDirectory = Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", PrChannelName, "packages"));
Commands\NewCommandTests.cs (2)
2062Assert.True(File.Exists(Path.Combine(workspace.WorkspaceRoot.FullName, "output", LanguageInfo.GeneratedFolderName, "aspire.mts"))); 2370var aspireifySkillPath = Path.Combine(outputDir, ".agents", "skills", CommonAgentApplicators.AspireifySkillName);
Commands\RunCommandTests.cs (1)
4331var backchannelsDirectory = Path.Combine(homeDirectory.FullName, ".aspire", "cli", "bch");
Commands\SdkDumpCommandTests.cs (1)
261var projectPath = Path.Combine(repoRoot, "src", "Aspire.Hosting", "Aspire.Hosting.csproj");
Commands\SetupCommandTests.cs (3)
16var processPath = Path.Combine("home", ".aspire", "bin", "aspire"); 30Assert.Equal(Path.Combine("home", ".aspire", "dogfood", "pr-12345"), result); 38var processPath = Path.Combine("Program Files", "WindowsApps", "Microsoft.Aspire_xyz", "aspire.exe");
Commands\StartCommandTests.cs (1)
675var backchannelsDirectory = Path.Combine(homeDirectory.FullName, ".aspire", "cli", "bch");
Commands\StopCommandTests.cs (5)
160var appHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost", "App1.AppHost.csproj"); 197var appHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost", "App1.AppHost.csproj"); 324var appHostPath = Path.Combine(worktreeRoot, "App1", "App1.AppHost", "App1.AppHost.csproj"); 363var appHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost", "App1.AppHost.csproj"); 1299var backchannelsDirectory = Path.Combine(homeDirectory.FullName, ".aspire", "cli", "bch");
Commands\VsCodeExtensionCheckTests.cs (2)
116Directory.CreateDirectory(Path.Combine(home.FullName, rootFolder, "extensions", "microsoft-aspire.aspire-vscode-1.2.3")); 137Directory.CreateDirectory(Path.Combine(home.FullName, ".vscode", "extensions", "microsoft-aspire.aspire-vscode-1.2.3"));
Git\GitWorktreeTests.cs (6)
81Path.Combine(fixtureRoot, "physical", "checkouts", "feature")).FullName; 84Path.Combine(fixtureRoot, "physical", "primary", ".git"), 349Path.Combine(workspace.WorkspaceRoot.FullName, ".git", "modules", "dep")); 408Path.Combine(primaryRoot, ".git", "modules", "dep")); 419var appHostPath = Path.Combine(primaryRoot, "sub", "App", "App.csproj"); 445Path.Combine(repoBRoot, ".git", "modules", "dep"));
Layout\LayoutDiscoveryReparsePointTests.cs (2)
36var realLayoutRoot = Path.Combine( 139var binaryDir = Path.Combine(workspace.WorkspaceRoot.FullName, "opt", "aspire", "bin");
Mcp\ApiDocs\ApiDocsCacheTests.cs (1)
120=> Directory.GetFiles(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", subdirectory))
Mcp\Docs\DocsCacheTests.cs (2)
37var cacheFiles = Directory.GetFiles(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "docs")) 87var cacheFiles = Directory.GetFiles(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cache", "docs"))
Mcp\E2E\McpDocsE2ETests.cs (1)
300var cliProjectPath = Path.Combine(dir.FullName, "src", "Aspire.Cli", "Aspire.Cli.csproj");
Npm\AspireJsLauncherTests.cs (1)
145var scriptPath = Path.Combine(GetRepoRoot(), "eng", "scripts", "pack-cli-npm-package.ps1");
NuGet\BundleNuGetServiceTests.cs (2)
46var restoreRoot = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "integrations", "package-restore"); 281var restoreRoot = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "integrations", "package-restore");
Packaging\PackageChannelTests.cs (1)
1017var packagePath = Path.Combine(packagesDirectory.FullName, packageId.ToLowerInvariant(), version, $"{packageId}.{version}.nupkg");
Packaging\PackagingServiceTests.cs (6)
1518var packagesDirectory = Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", prChannelName, "packages")); 1565var dogfoodPackagesDirectory = Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", prChannelName, "packages")); 1601var packagesDirectory = Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", prChannelName, "packages")); 1666Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", identityPrChannelName, "packages")); 1722Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", prChannelName, "packages")); 1758Directory.CreateDirectory(Path.Combine(installPrefix.FullName, "hives", prChannelName, "packages"));
Packaging\TemporaryNuGetConfigTests.cs (1)
134var overrideValue = Path.Combine(Path.GetTempPath(), "aspire-tests", "stable-cache", "deadbeef");
Projects\DotNetAppHostProjectTests.cs (23)
1536var missingTargetPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "bin", "missing", "AppHost.dll"); 1560var missingRunCommand = Path.Combine(_workspace.WorkspaceRoot.FullName, "bin", "missing", "AppHost"); 2547var backchannelsDir = Path.Combine(_workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 3225var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "inner-repo", "MyAppHost", "MyAppHost.csproj"), """ 3241Directory.CreateDirectory(Path.Combine(_workspace.WorkspaceRoot.FullName, "outer", "inner-repo", ".git")); 3259var projectFile = WriteIsLikelyAppHostProject(Path.Combine("repo", "src", "MyAppHost", "MyAppHost.csproj"), """ 3295var projectFile = WriteIsLikelyAppHostProject(Path.Combine("repo", "src", "OrdinaryLib", "OrdinaryLib.csproj"), """ 3330var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "OrdinaryLib.csproj"), """ 3362var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "MyAppHost.csproj"), """ 3423WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "inner", "Directory.Build.props"), """ 3466WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "inner", "Directory.Build.props"), """ 3483var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "MyAppHost.csproj"), """ 3515var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Library.csproj"), """ 3539var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Library.csproj"), """ 3570var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Library.csproj"), """ 3601var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Library.csproj"), """ 3616WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Directory.Build.targets"), """ 3632var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Library.csproj"), """ 3656var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "Library.csproj"), """ 3683var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "MyHost.csproj"), """ 3931var projectFile = WriteIsLikelyAppHostProject(Path.Combine("outer", "repo", "proj", "OrdinaryLib.csproj"), """ 3990WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "inner", "Directory.Build.props"), """ 4075WriteIsLikelyAppHostProject(Path.Combine("outer", "mid", "repo", "Directory.Build.props"), """
Projects\GuestAppHostProjectTests.cs (1)
1437var backchannelsDir = Path.Combine(_workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch");
Projects\GuestRuntimeTests.cs (4)
1233var unrelated = Path.Combine(workspace.WorkspaceRoot.FullName, "vendor", "nested", "Vendored.java"); 1299Path.Combine(workspace.WorkspaceRoot.FullName, "classes", "config", "Resources.class"), 1300Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "vendor", "Vendored.java"), 1301Path.Combine(workspace.WorkspaceRoot.FullName, ".gradle", "caches", "Cached.java")
Projects\JavaAppHostToolchainResolverTests.cs (8)
255"-d", Path.Combine("build", "classes", "java", "main"), 263["-cp", $"{Path.Combine("build", "classes", "java", "main")}{Path.PathSeparator}{Path.Combine("build", "aspire-deps", "*")}", "AppHost"], 503var appHostDirectory = Directory.CreateDirectory(Path.Combine(workspace.Path, "src", "main", "java")); 518var appHostDirectory = Directory.CreateDirectory(Path.Combine(workspace.Path, "a", "b", "c")); 529var appHostDirectory = Directory.CreateDirectory(Path.Combine(workspace.Path, "src", "main", "java")); 549"-classpath", Path.Combine(toProjectRoot, "target", "aspire-deps", "*"), 559$"{Path.Combine(toProjectRoot, "target", "classes")}{Path.PathSeparator}{Path.Combine(toProjectRoot, "target", "aspire-deps", "*")}", 571var appHostDirectory = Directory.CreateDirectory(Path.Combine(workspace.Path, "src", "main", "java"));
Projects\PrebuiltAppHostServerTests.cs (5)
578var rootDirectory = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "integrations", "apphosts"); 616var appHostsRoot = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "integrations", "apphosts"); 1434Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "integrations", "package-restore"), 2482assembly.GetProperty("path").GetString() == Path.Combine(workingDirectory, "integration-restore", "closure-sources", "Aspire.Hosting.Redis.dll")); 2784var packageSourcePath = Path.Combine(workingDirectory, "integration-restore", "closure-sources", "Aspire.Hosting.Redis.dll");
Projects\ProjectLocatorTests.cs (11)
2547var file = new FileInfo(Path.Combine(Path.GetPathRoot(Environment.CurrentDirectory)!, "repo", "apps", "AppHost.csproj")); 2957var project1 = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "src", "App1", "AppHost.csproj")); 2961var project2 = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "samples", "App2", "AppHost.csproj")); 2994var cachedProjectDir = Path.Combine(customCacheDir, "aspire.projecttemplates", "9.1.0", "content"); 3034var cachedProjectDir = Path.Combine(customCacheDir, "aspire.projecttemplates", "9.1.0", "content"); 3295var staleAppHost = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "foo", "AppHost.csproj")); 3322var staleAppHost = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "foo", "AppHost.csproj")); 3351var skipListedAppHost = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "foo", "AppHost.csproj")); 3420var staleAppHost = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "foo", "AppHost.csproj")); 3530var nodeModulesAppHost = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "foo", "AppHost.csproj")); 4128var configuredAppHost = new FileInfo(Path.Combine(workspace.WorkspaceRoot.FullName, "node_modules", "Configured", "AppHost.csproj"));
Secrets\SecretsStoreTests.cs (1)
201var path = Path.Combine(_tempDir, "nested", "dir", "secrets.json");
Templating\JavaAppHostTemplateTests.cs (1)
136var propertiesPath = Path.Combine(apiDirectory, ".mvn", "wrapper", "maven-wrapper.properties");
Templating\TemplateNuGetConfigServiceTests.cs (1)
1029var templatePackagePath = Path.Combine(
TestServices\FakePlaywrightServices.cs (2)
149var path = Path.Combine(_bundleDirectory.FullName, "skills", skillName, relativePath); 189Sha512 = ComputeSha512(Path.Combine(_bundleDirectory.FullName, "skills", skillName, entry.Key.RelativePath))
Utils\AppHostHelperTests.cs (10)
28Assert.Equal(Path.Combine(homeDirectory, ".aspire", "cli", "bch"), dir); 247var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 275var legacyBackchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "backchannels"); 300var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 326var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 344var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 376var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 562var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 584var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "bch"); 620var backchannelsDir = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "cli", "backchannels");
Utils\CliPathHelperTests.cs (5)
32var expectedDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire", "cli", "bch"); 50var expectedDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire", "cli", "bch"); 165var binDir = Path.Combine(installPrefix, "dogfood", "pr-17159", "bin"); 194var binDir = Path.Combine(installPrefix, "dogfood", "pr-17159", "bin"); 366var binDir = Path.Combine(installPrefix, "dogfood", "pr-17105", "bin");
Utils\FileSystemHelperTests.cs (2)
62Assert.True(File.Exists(Path.Combine(destDir, "subdir1", "subdir2", "level2.txt"))); 66Assert.Equal("level 2 content", File.ReadAllText(Path.Combine(destDir, "subdir1", "subdir2", "level2.txt")));
Aspire.Dashboard.Tests (1)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
Aspire.Deployment.EndToEnd.Tests (3)
Helpers\DeploymentE2ETestHelpers.cs (1)
202candidates.Add(Path.Combine(home, ".aspire", "bin", "aspire"));
RadiusAzureResourcesDeploymentTests.cs (1)
71var appHostFilePath = Path.Combine(
tests\Shared\Hex1bTestHelpers.cs (1)
131recordingsDir = Path.Combine(AppContext.BaseDirectory, "TestResults", "recordings", localSubDir);
Aspire.EndToEnd.Tests (2)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
tests\Shared\TemplatesTesting\BuildEnvironment.cs (1)
82var sdkFromArtifactsPath = Path.Combine(RepoRoot!.FullName, "artifacts", "bin", sdkDirName);
Aspire.Hosting (3)
DeveloperCertificateService.cs (1)
148private static readonly string s_userDevCertificateLocation = Path.Combine(
src\Shared\BackchannelConstants.cs (2)
103=> Path.Combine(homeDirectory, ".aspire", "cli", "bch"); 111=> Path.Combine(homeDirectory, ".aspire", "cli", "backchannels");
Aspire.Hosting.Azure.Kubernetes.Tests (2)
AzureKubernetesIngressTests.cs (1)
33var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml");
AzureKubernetesPersistentVolumeTests.cs (1)
36var claimPath = Path.Combine(workspace.Path, "templates", "data", "data.yaml");
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
543var scriptDest = Path.Combine(project.SolutionRoot, ".aspire", "scripts", "PrefixEndpoints.cs");
Aspire.Hosting.Browsers (2)
BrowserLogsArtifacts.cs (1)
58var directory = Path.Combine(
BrowserUserDataPathResolver.cs (1)
60BrowserUserDataMode.Isolated => Path.Combine(root, "isolated", GetAppHostSegment(configuration), browserSegment),
Aspire.Hosting.Browsers.Tests (2)
src\Aspire.Hosting.Browsers\BrowserLogsArtifacts.cs (1)
58var directory = Path.Combine(
src\Aspire.Hosting.Browsers\BrowserUserDataPathResolver.cs (1)
60BrowserUserDataMode.Isolated => Path.Combine(root, "isolated", GetAppHostSegment(configuration), browserSegment),
Aspire.Hosting.CodeGeneration.Java.Tests (1)
JavaLanguageSupportDetectionTests.cs (1)
47var nested = Directory.CreateDirectory(Path.Combine(workspace.Path, "src", "main", "java"));
Aspire.Hosting.Containers.Tests (1)
TestcontainersPodmanConfigurationTests.cs (1)
236var dockerDesktopSocket = Path.Combine(HomeDirectory, ".docker", "desktop", "docker.sock");
Aspire.Hosting.Java (4)
JavaDockerfileGenerator.cs (3)
841var propertiesPath = Path.Combine( 944var propertiesPath = Path.Combine( 998var propertiesPath = Path.Combine(
JavaHostingExtensions.cs (1)
1948var runJar = Path.Combine(
Aspire.Hosting.Java.Tests (11)
AddJavaAppPublishTests.cs (3)
52await File.WriteAllTextAsync(Path.Combine(workspace.Path, "build", "libs", "reports service.jar"), ""); 1259var sourcePath = Directory.CreateDirectory(Path.Combine(sourceDir.FullName, "src", "main", "java")); 1532Path.Combine(source, ".mvn", "wrapper", "maven-wrapper.properties"),
AddJavaAppTests.cs (5)
409var workingDirectory = Path.Combine(Path.GetTempPath(), "repo", "services", "api"); 410var wrapperPath = Path.Combine(Path.GetTempPath(), "repo", "build tools", wrapperName); 415Assert.Equal(["/c", "call", Path.Combine("..", "..", "build tools", wrapperName)], leadingArgs); 426wrapperPath, Path.Combine(Path.GetTempPath(), "repo", "services", "api"), isWindows: false); 984Path.Combine(app.Resource.WorkingDirectory, "target", "agent", "opentelemetry-javaagent.jar"));
AddSpringBootAppTests.cs (2)
246var expected = Path.GetFullPath(Path.Combine(tempDir.Path, outputDirectory, "agent", "opentelemetry-javaagent.jar")); 277var expected = Path.GetFullPath(Path.Combine(tempDir.Path, outputDirectory, "agent", "opentelemetry-javaagent.jar"));
TempJavaAppDirectory.cs (1)
67System.IO.Path.Combine(wrapperDirectory, supportDirectory, "wrapper", propertiesName),
Aspire.Hosting.Kubernetes.Tests (38)
KubernetesDeployTests.cs (3)
931var deploymentYaml = await File.ReadAllTextAsync(Path.Combine(workspace.Path, "templates", "svc", "deployment.yaml")); 1392var serverSecretsTemplatePath = Path.Combine(workspace.Path, "templates", "server", "secrets.yaml"); 1710await File.ReadAllTextAsync(Path.Combine(workspace.Path, "templates", "myapp", "config.yaml")),
KubernetesEnvironmentResourceTests.cs (1)
31var deploymentYaml = Path.Combine(workspace.Path, "templates", "service", "deployment.yaml");
KubernetesGatewayTests.cs (7)
106var gatewayPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 107var routePath = Path.Combine(workspace.Path, "templates", "public", "route.yaml"); 136var routePath = Path.Combine(workspace.Path, "templates", "public", "route.yaml"); 256var gatewayFile = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 464var gatewayFile = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 513var gatewayFile = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 596var gatewayFile = Path.Combine(workspace.Path, "templates", "public", "public.yaml");
KubernetesIngressTests.cs (17)
34var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 64var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 108var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 149var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 177var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 204var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 228var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 253var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 282var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 315var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 343var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 367var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 612var publicPath = Path.Combine(workspace.Path, "templates", "public-ingress", "public-ingress.yaml"); 613var internalPath = Path.Combine(workspace.Path, "templates", "internal-ingress", "internal-ingress.yaml"); 647var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 682var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml"); 798var ingressPath = Path.Combine(workspace.Path, "templates", "public", "public.yaml");
KubernetesPublisherTests.cs (10)
1456var legacyPv = Path.Combine(workspace.Path, "templates", "service", "data-pv.yaml"); 1486var deploymentPath = Path.Combine(workspace.Path, "templates", "service", "deployment.yaml"); 1544var legacyPvc = Path.Combine(workspace.Path, "templates", "service", "data-pvc.yaml"); 1548var deploymentPath = Path.Combine(workspace.Path, "templates", "service", "deployment.yaml"); 1622var statefulSetPath = Path.Combine(workspace.Path, "templates", "api", "statefulset.yaml"); 1649var statefulSetPath = Path.Combine(workspace.Path, "templates", "api", "statefulset.yaml"); 1689var statefulSetPath = Path.Combine(workspace.Path, "templates", "service", "statefulset.yaml"); 1695var pvcPath = Path.Combine(workspace.Path, "templates", "data", "data.yaml"); 1759var statefulSetPath = Path.Combine(workspace.Path, "templates", "api", "statefulset.yaml"); 1833var pvcPath = Path.Combine(workspace.Path, "templates", "data", "data.yaml");
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
278var pythonExecutable = Path.Combine(projectDirectory,
Aspire.Hosting.Radius.Tests (1)
Secrets\SealedSecretArtifactTests.cs (1)
34Assert.Equal(Path.Combine("/out", "sealed-secrets", "db-creds", "sealed.yaml"), resolved);
Aspire.Hosting.RemoteHost.Tests (13)
CodeGeneration\ApiReferenceExportTests.cs (1)
98var packageAssetsPath = Path.Combine(
LayoutCommandTests.cs (12)
22var packageRoot = Path.Combine(workspaceRoot, "packages", "test.package", "1.0.0"); 23Directory.CreateDirectory(Path.Combine(packageRoot, "lib", "net10.0", "fr")); 26Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", GetCurrentRuntimeIdentifier(), "native")); 28await File.WriteAllTextAsync(Path.Combine(packageRoot, "lib", "net10.0", "Test.Package.dll"), "base"); 75var packageRoot = Path.Combine(workspaceRoot, "packages", "test.package", "1.0.0"); 80await File.WriteAllTextAsync(Path.Combine(packageRoot, "lib", "net10.0", "Test.Package.dll"), "base"); 117var packageRoot = Path.Combine(workspaceRoot, "packages", "test.package", "1.0.0"); 120await File.WriteAllTextAsync(Path.Combine(packageRoot, "lib", "net10.0", "Test.Package.dll"), "base"); 155var packageRoot = Path.Combine(workspaceRoot, "packages", "test.package", "1.0.0"); 156Directory.CreateDirectory(Path.Combine(packageRoot, "lib", "net10.0", "fr")); 159Directory.CreateDirectory(Path.Combine(packageRoot, "runtimes", GetCurrentRuntimeIdentifier(), "native")); 161await File.WriteAllTextAsync(Path.Combine(packageRoot, "lib", "net10.0", "Test.Package.dll"), "base");
Aspire.Hosting.Rust.Tests (7)
AddRustAppPublishTests.cs (2)
746var canonicalManifest = Path.Combine(canonicalSourceDir, "crates", "api", "Cargo.toml"); 780var differentlyCasedCanonicalManifest = Path.Combine(canonicalSourceDir, "crates", "api", "cargo.toml");
RustCargoTargetResolverTests.cs (1)
130var expected = Path.Combine("/crates/target", "aarch64-unknown-linux-musl", "release", OperatingSystem.IsWindows() ? "my-service.exe" : "my-service");
RustDockerfileShellTests.cs (2)
67var staleTargetCandidate = Path.Combine(targetDirectory, "stale-target", "release", "api"); 68var currentTargetCandidate = Path.Combine(targetDirectory, "current-target", "release", "api");
RustPublicApiTests.cs (1)
327var expected = Path.Combine(
RustReadmeTests.cs (1)
14var readmePath = Path.Combine(MSBuildUtils.GetRepoRoot(), "src", "Aspire.Hosting.Rust", "README.md");
Aspire.Hosting.Sdk.Tests (4)
AppHostSdkTargetsTests.cs (4)
1632var vswherePath = Path.Combine( 1706? $"exec \"{Path.Combine(Path.GetDirectoryName(dnxPath)!, "sdk", AspireCliVersion, "dotnet.dll")}\" dnx " 1755File.Exists(Path.Combine(aspireHome, "bundle", "dcp", OperatingSystem.IsWindows() ? "dcp.exe" : "dcp")), 1758File.Exists(Path.Combine(aspireHome, "bundle", "managed", OperatingSystem.IsWindows() ? "aspire-managed.exe" : "aspire-managed")),
Aspire.Hosting.Tasks (1)
ResolveAspireCliInvocation.cs (1)
128var sdkPath = Path.Combine(dotnetRoot, "sdk", sdkVersion!, "dotnet.dll");
Aspire.Hosting.Testing.Tests (2)
TestingBuilderTests.cs (1)
53Path.Combine(MSBuildUtils.GetRepoRoot(), "artifacts", "bin", "TestProject.AppHost"),
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
Aspire.Hosting.Tests (10)
Dcp\ConfigureDefaultDcpOptionsTests.cs (3)
21var managedPath = Path.Combine(Path.GetTempPath(), "aspire-fake-bundle", "managed", managedExe); 63var managedPath = Path.Combine(Path.GetTempPath(), "aspire-fake-bundle", "managed", managedExe); 86var managedPath = Path.Combine(Path.GetTempPath(), "aspire-fake-bundle", "managed", managedExe);
Dcp\DcpHostNotificationTests.cs (1)
706Path.Combine(AppContext.BaseDirectory, "shared", "TestCertificates", "testCert.pfx"),
ManifestGenerationTests.cs (2)
703var manifestPath = Path.Combine(Path.GetTempPath(), "tempmanifests", Guid.NewGuid().ToString(), "manifest.json"); 709var manifestPath = Path.Combine(Path.GetTempPath(), "tempmanifests", Guid.NewGuid().ToString(), "manifest.json");
MSBuildTests.cs (3)
1362Path.Combine(repoRoot, "src", "Aspire.Hosting.Integration.Analyzers", "Aspire.Hosting.Integration.Analyzers.csproj"), 1389Path.Combine(repoRoot, "src", "Aspire.Hosting.Blazor", "Aspire.Hosting.Blazor.csproj"), 1435Path.Combine(repoRoot, "src", "Aspire.Hosting.Integration.Analyzers", "Aspire.Hosting.Integration.Analyzers.csproj"),
Publishing\DeploymentStateManagerTests.cs (1)
389Path.Combine(_aspireHome.FullName, "deployments", sha, "development.json"),
Aspire.Playground.Tests (1)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
Aspire.Templates.Tests (7)
LocalhostTldHostnameTests.cs (2)
67"aspire-ts-cs-starter" or "aspire-starter" => Path.Combine(project.RootDir, $"{projectName}.AppHost", "Properties", "launchSettings.json"), 68"aspire" => Path.Combine(project.RootDir, $"{projectName}.AppHost", "Properties", "launchSettings.json"),
NewUpAndBuildStandaloneTemplateTests.cs (3)
66var errorPageContent = await File.ReadAllTextAsync(Path.Combine(webProjectDirectory, "Components", "Pages", "Error.razor")); 69var navMenuContent = await File.ReadAllTextAsync(Path.Combine(webProjectDirectory, "Components", "Layout", "NavMenu.razor")); 76Assert.True(File.Exists(Path.Combine(webProjectDirectory, "Components", "Layout", "NavMenu.razor.js")));
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
tests\Shared\TemplatesTesting\BuildEnvironment.cs (1)
82var sdkFromArtifactsPath = Path.Combine(RepoRoot!.FullName, "artifacts", "bin", sdkDirName);
Crossgen2Tasks (3)
ResolveReadyToRunCompilers.cs (3)
307_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "x86_arm", "crossgen.exe"); 328_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "x64_arm64", "crossgen.exe"); 359_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", xarchPath, "crossgen");
dotnet (10)
BuildServer\VBCSCompilerServer.cs (1)
19internal static readonly string VBCSCompilerPath = Path.Combine(
CommandFactory\CommandResolution\ToolPathCalculator.cs (1)
53return Path.Combine(
Commands\Sdk\Check\SdkCheckCommand.cs (1)
34var configFilePath = Path.Combine(_dotnetPath, "sdk", dotnetVersion ?? Product.Version, "sdk-check-config.json");
Commands\Workload\Install\FileBasedInstaller.cs (1)
631return Path.Combine(_workloadMetadataDir, RuntimeInformation.ProcessArchitecture.ToString(), _sdkFeatureBand.ToString(), HistoryDir);
Commands\Workload\Install\WorkloadAdvertisingManifestUpdater.cs (1)
369private string GetAdvertisingManifestPath(SdkFeatureBand featureBand, ManifestId manifestId) => Path.Combine(_userProfileDir, "sdk-advertising", featureBand.ToString(), manifestId.ToString());
Commands\Workload\Install\WorkloadInstallRecords\FileBasedInstallationRecordInstaller.cs (2)
46var path = Path.Combine(_workloadMetadataDir, featureBand.ToString(), InstalledWorkloadDir, workloadId.ToString()); 60var path = Path.Combine(_workloadMetadataDir, featureBand.ToString(), InstalledWorkloadDir, workloadId.ToString());
ShellShim\ShellShimTemplateFinder.cs (1)
58return Path.Combine(_tempDir.Value, "runtimes", rid, "native");
Telemetry\DevDeviceIDGetter.cs (2)
56cacheFilePath = Path.Combine(xdgCacheHome, "Microsoft", "DeveloperTools", "deviceid"); 104cacheFilePath = Path.Combine(xdgCacheHome, "Microsoft", "DeveloperTools", "deviceId");
dotnet-aot (6)
src\sdk\src\Cli\dotnet\Commands\Sdk\Check\SdkCheckCommand.cs (1)
34var configFilePath = Path.Combine(_dotnetPath, "sdk", dotnetVersion ?? Product.Version, "sdk-check-config.json");
src\sdk\src\Cli\dotnet\Commands\Workload\Install\WorkloadAdvertisingManifestUpdater.cs (1)
369private string GetAdvertisingManifestPath(SdkFeatureBand featureBand, ManifestId manifestId) => Path.Combine(_userProfileDir, "sdk-advertising", featureBand.ToString(), manifestId.ToString());
src\sdk\src\Cli\dotnet\Commands\Workload\Install\WorkloadInstallRecords\FileBasedInstallationRecordInstaller.cs (2)
46var path = Path.Combine(_workloadMetadataDir, featureBand.ToString(), InstalledWorkloadDir, workloadId.ToString()); 60var path = Path.Combine(_workloadMetadataDir, featureBand.ToString(), InstalledWorkloadDir, workloadId.ToString());
src\sdk\src\Cli\dotnet\Telemetry\DevDeviceIDGetter.cs (2)
56cacheFilePath = Path.Combine(xdgCacheHome, "Microsoft", "DeveloperTools", "deviceid"); 104cacheFilePath = Path.Combine(xdgCacheHome, "Microsoft", "DeveloperTools", "deviceId");
dotnet-dev-certs (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
813return Path.Combine(homeDirectory, ".aspnet", "dev-certs", "trust");
dotnet-svcutil-lib.Tests (6)
E2ETests.cs (2)
123var uri = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl"); 198var url = $"{Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl")}";
GlobalToolTests.cs (3)
116var uri = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl"); 141File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, "Program.cs"), Path.Combine(this_TestCaseOutputDir, "Program.cs"), true); 142File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, $"{testCaseName}.csproj"), Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), true);
UnitTest.cs (1)
128var uri = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl");
GenerateAnalyzerNuspec (2)
Program.cs (2)
146string assemblyFolder = Path.Combine(artifactsBinDir, assemblyNameWithoutExtension, configuration, tfm); 206string folderPath = Path.Combine(artifactsBinDir, folder, configuration, tfm);
GenerateDocumentationAndConfigFiles (3)
Program.cs (3)
906var shippedFile = Path.Combine(assemblyDir, "AnalyzerReleases", assemblyName, ReleaseTrackingHelper.ShippedFileName); 907var unshippedFile = Path.Combine(assemblyDir, "AnalyzerReleases", assemblyName, ReleaseTrackingHelper.UnshippedFileName); 1080var assemblyDir = Path.Combine(args.BinDirectory, assemblyName, args.Configuration, args.Tfm);
Infrastructure.Tests (41)
CITimeline\GenerateCITimelineTests.cs (1)
12Path.Combine(AppContext.BaseDirectory, "CITimeline", "TestData", filename);
CreateFailingTestIssue\CreateFailingTestIssueFixture.cs (1)
18ToolProjectPath = Path.Combine(RepoRoot.Path, "tools", "CreateFailingTestIssue", "CreateFailingTestIssue.csproj");
DownloadFailingJobLogs\DownloadFailingJobLogsFixture.cs (1)
19ToolPath = Path.Combine(RepoRoot.Path, "tools", "scripts", "DownloadFailingJobLogs.cs");
DownloadFailingJobLogs\DownloadFailingJobLogsToolTests.cs (1)
65var extractedTrx = Path.Combine(_workspace.Path, "artifact_0_Sample_linux-latest", "testresults", "Sample_net10.0.trx");
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
54var projectPath = Path.Combine(RepoRoot.Path, "tools", "ExtractTestPartitions", "ExtractTestPartitions.csproj");
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
199var outputFile = Path.Combine(_workspace.Path, "nested", "dir", "partitions.txt");
GenerateTestSummary\GenerateTestSummaryFixture.cs (1)
18ToolProjectPath = Path.Combine(RepoRoot.Path, "tools", "GenerateTestSummary", "GenerateTestSummary.csproj");
Pipelines\NixCliPackageTests.cs (3)
94Path.Combine(RepoRoot.Path, "eng", "nix", "update-versions.sh"), 156Path.Combine(RepoRoot.Path, "eng", "nix", "update-versions.sh"), 185Path.Combine(RepoRoot.Path, "eng", "nix", "update-versions.sh"),
Pipelines\NpmCliPackageTests.cs (1)
36_packScriptPath = Path.Combine(_repoRoot, "eng", "scripts", "pack-cli-npm-package.ps1");
PowerShellScripts\AspireSkillsBundleHashTests.cs (1)
41_commonScriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "aspire-skills-bundle.common.ps1");
PowerShellScripts\BuildTestMatrixTests.cs (3)
23_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "build-test-matrix.ps1"); 658var propsPath = Path.Combine(RepoRoot.Path, "eng", "testing", "CITestsProperties.props"); 757var propsPath = Path.Combine(RepoRoot.Path, "eng", "testing", "CITestsProperties.props");
PowerShellScripts\DownloadNativeArchivesTests.cs (1)
23_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "download-native-archives.ps1");
PowerShellScripts\ExpandTestMatrixGitHubTests.cs (3)
23_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "expand-test-matrix-github.ps1"); 547var buildMatrixScript = Path.Combine(RepoRoot.Path, "eng", "scripts", "build-test-matrix.ps1"); 563var splitScriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "split-test-matrix-by-deps.ps1");
PowerShellScripts\SplitTestMatrixByDepsTests.cs (1)
24_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "split-test-matrix-by-deps.ps1");
PowerShellScripts\SplitTestProjectsTests.cs (1)
32_scriptPath = Path.Combine(_repoRoot, "eng", "scripts", "split-test-projects-for-ci.ps1");
PowerShellScripts\StageNativeCliToolPackagesTests.cs (1)
33_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "stage-native-cli-tool-packages.ps1");
PowerShellScripts\ValidateNpmPackageSignaturesTests.cs (1)
28_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "validate-npm-package-signatures.ps1");
PowerShellScripts\ValidateNpmReleaseAliasesTests.cs (1)
26_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "validate-npm-release-aliases.ps1");
PowerShellScripts\WriteClassModeTestPropsTests.cs (1)
19_scriptPath = Path.Combine(RepoRoot.Path, "eng", "scripts", "write-class-mode-test-props.ps1");
TestTriggerMap\SelectTestsAcceptanceTests.cs (4)
809var mapPath = Path.Combine(RepoRoot.Path, "eng", "github-ci", "test-trigger-map.yml"); 864var mapPath = Path.Combine(RepoRoot.Path, "eng", "github-ci", "test-trigger-map.yml"); 890var mapPath = Path.Combine(RepoRoot.Path, "eng", "github-ci", "test-trigger-map.yml"); 905var mapPath = Path.Combine(RepoRoot.Path, "eng", "github-ci", "test-trigger-map.yml");
TestTriggerMap\SelectTestsWorkflowTests.cs (1)
139=> Path.Combine(RepoRoot.Path, ".github", "workflows", "tests.yml");
TestTriggerMap\TestTriggerMapModel.cs (1)
127var path = Path.Combine(repoRoot, "eng", "github-ci", "test-trigger-map.yml");
TestTriggerMap\TestTriggerMapTests.cs (3)
314var testsYml = File.ReadAllText(Path.Combine(RepoRoot.Path, ".github", "workflows", "tests.yml")); 373var testsYml = File.ReadAllText(Path.Combine(RepoRoot.Path, ".github", "workflows", "tests.yml")); 413.Where(name => !File.Exists(Path.Combine(RepoRoot.Path, "tests", name, $"{name}.csproj")))
TypeScriptApiCompat\TypeScriptApiCompatTests.cs (1)
328var apiDirectory = Path.Combine(rootPath, "src", packageName, "api");
WorkflowScripts\CiWorkflowTests.cs (1)
13var workflow = File.ReadAllText(Path.Combine(RepoRoot.Path, ".github", "workflows", "ci.yml"));
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (3)
14private static readonly string s_releaseWorkflowPath = Path.Combine(RepoRoot.Path, ".github", "workflows", "extension-release.yml"); 15private static readonly string s_changelogWorkflowPath = Path.Combine(RepoRoot.Path, ".github", "workflows", "extension-changelog.md"); 16private static readonly string s_changelogWorkflowLockPath = Path.Combine(RepoRoot.Path, ".github", "workflows", "extension-changelog.lock.yml");
WorkflowScripts\PrDocsCheckWorkflowTests.cs (1)
217=> File.ReadAllText(Path.Combine(RepoRoot.Path, ".github", "workflows", fileName));
WorkflowScripts\SelectTestsCommentScriptTests.cs (1)
252var lines = File.ReadAllText(Path.Combine(_repoRoot, ".github", "workflows", "tests.yml"))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
813return Path.Combine(homeDirectory, ".aspnet", "dev-certs", "trust");
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\SelfHostDeployer.cs (1)
98workingDirectory = Path.Combine(DeploymentParameters.ApplicationPath, "bin", DeploymentParameters.Configuration, targetFramework);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
813return Path.Combine(homeDirectory, ".aspnet", "dev-certs", "trust");
Microsoft.Build (1)
Evaluation\Expander\WellKnownFunctions.cs (1)
83returnVal = Path.Combine(arg0, arg1, arg2, arg3);
Microsoft.Build.Tasks.Core (5)
InstalledSDKResolver.cs (4)
60string referenceAssemblyFilePath = Path.Combine(sdkDirectory, "References", configuration, architecture); 61string referenceAssemblyCommonArchFilePath = Path.Combine(sdkDirectory, "References", "CommonConfiguration", architecture); 62string referenceAssemblyPathNeutral = Path.Combine(sdkDirectory, "References", configuration, "Neutral"); 63string referenceAssemblyArchFilePathNeutral = Path.Combine(sdkDirectory, "References", "CommonConfiguration", "Neutral");
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
41() => Path.Combine(pathToBuildTools, "Roslyn", "bincore", Path.ChangeExtension(ToolName, ".dll")),
Microsoft.Build.Tasks.Git (1)
GitDataReader\GitConfig.Reader.cs (1)
180var mingwEtc = Path.Combine(_environment.SystemDirectory, "..", "mingw64", "etc");
Microsoft.Build.Utilities.Core (3)
ToolLocationHelper.cs (3)
845propsFileLocation = Path.Combine(sdkRoot, designTimeFolderName, commonConfigurationFolderName, neutralArchitectureName); 1039winmdLocation = Path.Combine(sdkRoot, referencesFolderName, commonConfigurationFolderName, neutralArchitectureName); 2426string referenceAssemblyPath = Path.Combine(sdkRoot, contentFolderName, targetConfiguration, targetArchitecture);
Microsoft.CodeAnalysis.Scripting (1)
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\MonoGlobalAssemblyCache.cs (1)
65yield return Path.Combine(gacPath, name, version + "__" + publicKeyToken, fileName);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ReferenceFileChangeTracker.cs (1)
79referenceDirectories.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "Reference Assemblies", "Microsoft", "Framework"));
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
37private static bool IsLoadedFromNuGetPackage => File.Exists(Path.Combine(MSBuildWorkspaceDirectory, "..", "..", "microsoft.codeanalysis.workspaces.msbuild.nuspec"));
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (1)
MonoMSBuildDiscovery.cs (1)
117var monoLibDirPath = Path.Combine(monoDirPath, "..", "lib", "mono");
Microsoft.DotNet.Arcade.Sdk (3)
src\InstallDotNetCore.cs (3)
289"dotnet" => Path.Combine(dotnetRoot, "shared", "Microsoft.NETCore.App", version), 290"aspnetcore" => Path.Combine(dotnetRoot, "shared", "Microsoft.AspNetCore.App", version), 291"windowsdesktop" => Path.Combine(dotnetRoot, "shared", "Microsoft.WindowsDesktop.App", version),
Microsoft.DotNet.HotReload.Watch (2)
AppModels\HotReloadAppModel.cs (1)
15=> Path.Combine(Path.GetDirectoryName(typeof(HotReloadAppModel).Assembly.Location)!, "hotreload", targetFramework, assemblyName + ".dll");
Context\EnvironmentOptions.cs (1)
74? Path.GetFullPath(Path.Combine(SdkDirectory, "..", "..", "dotnet" + PathUtilities.ExecutableExtension))
Microsoft.DotNet.TemplateLocator (6)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkDirectoryWorkloadManifestProvider.cs (3)
109var knownManifestIdsFilePath = Path.Combine(_sdkRootPath, "sdk", sdkVersion, "KnownWorkloadManifests.txt"); 112knownManifestIdsFilePath = Path.Combine(_sdkRootPath, "sdk", sdkVersion, "IncludedWorkloadManifests.txt"); 557var specifiedManifestDirectory = Path.Combine(manifestDirectory, manifestSpecifier.FeatureBand.ToString(), manifestSpecifier.Id.ToString(),
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (3)
30string runtimeIdentifierChainPath = Path.Combine(dotnetRootPath, "sdk", sdkVersion, "NETCoreSdkRuntimeIdentifierChain.txt"); 329packPath = Path.Combine(rootPath.Path, "packs", resolvedPackageId.ToString(), packageVersion); 341packPath = Path.Combine(rootPath.Path, "tool-packs", resolvedPackageId.ToString(), packageVersion);
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Storage\DiskBasedResultStore.cs (1)
165Path.Combine(_resultsRootPath, executionName, scenarioName, $"{iterationName}.json")));
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (1)
DiskBased\PathValidationTests.cs (1)
158string escaped = Path.Combine(root, "..", "..", "outside");
Microsoft.Extensions.DependencyModel (2)
Resolution\ReferenceAssemblyPathResolver.cs (2)
105string net20Dir = Path.Combine(windir, "Microsoft.NET", "Framework", "v2.0.50727"); 146return Path.Combine(
Microsoft.ML.AutoML.Tests (1)
DatasetUtil.cs (1)
49return Path.Combine(TestCommon.GetRepoRoot(), "test", "data", fileName);
Microsoft.ML.OneDal (1)
OneDalUtils.cs (1)
33var nativeLibs = Path.Combine(currentDir, "runtimes", "win-x64", "native");
Microsoft.ML.OnnxTransformerTest (3)
OnnxTransformTests.cs (3)
239var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "squeezenet", "00000001", "model.onnx"); 292var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "squeezenet", "00000001", "model.onnx"); 1122var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "squeezenet", "00000001", "model.onnx");
Microsoft.ML.SamplesUtils (1)
SamplesDatasetUtils.cs (1)
36return Path.Combine(directory, "test", "data", fileName);
Microsoft.ML.TestFramework (1)
BaseTestBaseline.cs (1)
288baselinePath = Path.GetFullPath(Path.Combine(_baselineCommonDir, subDir, baselineConfigDir, name));
Microsoft.ML.TestFrameworkCommon (1)
Utility\PathResolver.cs (1)
102depsResolvedPath = Path.Combine(
Microsoft.NET.Build.Tasks (15)
FrameworkPackages\FrameworkPackages.cs (1)
137.Select(d => (Overrides: Path.Combine(d, "data", "PackageOverrides.txt"), OriginalOverrides: Path.Combine(originalPacksFolder, Path.GetFileName(d), "data", "PackageOverrides.txt"), Version: ParseVersion(Path.GetFileName(d))))
FrameworkReferenceResolver.cs (1)
59return Path.Combine(
GetPackagesToPrune.cs (1)
267string packageOverridesPath = Path.Combine(prunePackageDataRoot, targetFrameworkVersion, frameworkReference, "PackageOverrides.txt");
ProduceContentAssets.cs (1)
252item.SetMetadata("Link", Path.Combine("NuGet", packageName, packageVersion, Path.GetFileName(resolvedPath)));
ResolveAppHosts.cs (1)
289string hostRelativePathInPackage = Path.Combine("runtimes", bestAppHostRuntimeIdentifier, "native",
ResolveReadyToRunCompilers.cs (3)
328_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "x86_arm", "crossgen.exe"); 349_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "x64_arm64", "crossgen.exe"); 380_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", xarchPath, "crossgen");
ResolveTargetingPackAssets.cs (1)
309Path.Combine(targetingPackRoot.OriginalValue, "build", targetingPackTargetFramework, "ref"));
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\SdkDirectoryWorkloadManifestProvider.cs (3)
109var knownManifestIdsFilePath = Path.Combine(_sdkRootPath, "sdk", sdkVersion, "KnownWorkloadManifests.txt"); 112knownManifestIdsFilePath = Path.Combine(_sdkRootPath, "sdk", sdkVersion, "IncludedWorkloadManifests.txt"); 557var specifiedManifestDirectory = Path.Combine(manifestDirectory, manifestSpecifier.FeatureBand.ToString(), manifestSpecifier.Id.ToString(),
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (3)
30string runtimeIdentifierChainPath = Path.Combine(dotnetRootPath, "sdk", sdkVersion, "NETCoreSdkRuntimeIdentifierChain.txt"); 329packPath = Path.Combine(rootPath.Path, "packs", resolvedPackageId.ToString(), packageVersion); 341packPath = Path.Combine(rootPath.Path, "tool-packs", resolvedPackageId.ToString(), packageVersion);
Microsoft.NET.Sdk.WorkloadManifestReader (6)
SdkDirectoryWorkloadManifestProvider.cs (3)
109var knownManifestIdsFilePath = Path.Combine(_sdkRootPath, "sdk", sdkVersion, "KnownWorkloadManifests.txt"); 112knownManifestIdsFilePath = Path.Combine(_sdkRootPath, "sdk", sdkVersion, "IncludedWorkloadManifests.txt"); 557var specifiedManifestDirectory = Path.Combine(manifestDirectory, manifestSpecifier.FeatureBand.ToString(), manifestSpecifier.Id.ToString(),
WorkloadResolver.cs (3)
30string runtimeIdentifierChainPath = Path.Combine(dotnetRootPath, "sdk", sdkVersion, "NETCoreSdkRuntimeIdentifierChain.txt"); 329packPath = Path.Combine(rootPath.Path, "packs", resolvedPackageId.ToString(), packageVersion); 341packPath = Path.Combine(rootPath.Path, "tool-packs", resolvedPackageId.ToString(), packageVersion);
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (2)
src\sdk\src\Cli\dotnet\Commands\Workload\Install\WorkloadInstallRecords\FileBasedInstallationRecordInstaller.cs (2)
46var path = Path.Combine(_workloadMetadataDir, featureBand.ToString(), InstalledWorkloadDir, workloadId.ToString()); 60var path = Path.Combine(_workloadMetadataDir, featureBand.ToString(), InstalledWorkloadDir, workloadId.ToString());
Microsoft.TestPlatform.CoreUtilities (1)
Helpers\DotnetHostHelper.cs (1)
271? Path.Combine(_environmentVariableHelper.GetEnvironmentVariable("ProgramFiles")!, "dotnet", "x64", _muxerName)
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\InstallationContext.cs (1)
55Path.Combine(visualStudioDirectory, "CommonExtensions", "Microsoft", "TestWindow"),
NuGet.Build.Tasks (1)
StaticGraphRestoreTaskBase.cs (1)
357return Path.GetFullPath(Path.Combine(MSBuildBinPath, "..", "..", "dotnet"));
NuGet.ProjectModel (1)
ToolPathResolver.cs (1)
62return Path.Combine(
RepoTasks (3)
ResolveDotnetToolPackagePaths.cs (1)
102var packagePath = Path.Combine(
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
813return Path.Combine(homeDirectory, ".aspnet", "dev-certs", "trust");
rzc (2)
ServerCommand.cs (1)
179path = Path.Combine(homePath, ".dotnet", "pids", "build");
ShadowCopyManager.cs (1)
63var resourcesShadowCopyPath = Path.Combine(assemblyDirectory, directoryName, resourcesNameWithoutExtension, resourcesNameWithExtension);
SelectTests (1)
Program.cs (1)
97?? Path.Combine(repoRoot, "eng", "github-ci", "test-trigger-map.yml");
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\SharedMemoryManager.Unix.cs (2)
180string sessionDirectory = Path.Combine( 360string sessionDirectoryPath = Path.Combine(