31 references to GetDcpExecutablePath
aspire (10)
Bundles\BundleService.cs (1)
618var dcpExe = BundleDiscovery.GetDcpExecutablePath(dcpDir);
Commands\DcpWorkloadCleanupService.cs (1)
34var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Layout\LayoutDiscovery.cs (3)
256var bundleDcpExe = BundleDiscovery.GetDcpExecutablePath(bundleDcpPath); 294var dcpExePath = BundleDiscovery.GetDcpExecutablePath(dcpPath); 388!File.Exists(BundleDiscovery.GetDcpExecutablePath(dcpPath)))
Processes\DcpExecutableResolver.cs (1)
36var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Projects\DotNetAppHostProject.cs (1)
2685File.Exists(BundleDiscovery.GetDcpExecutablePath(path));
src\Shared\BundleDiscovery.cs (1)
156var dcpExePath = GetDcpExecutablePath(dcpDir);
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
230var dcpExecutablePath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
62var dcpExecutablePath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Aspire.Cli.Tests (21)
BundleServiceIntegrationTests.cs (1)
823var dcpExe = BundleDiscovery.GetDcpExecutablePath(dcpDir);
BundleServiceTests.cs (2)
246File.Delete(BundleDiscovery.GetDcpExecutablePath(Path.Combine(dir, BundleDiscovery.DcpDirectoryName))); 345File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDir), "dcp");
Commands\StopCommandTests.cs (1)
1524File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), "");
Layout\LayoutDiscoveryReparsePointTests.cs (3)
109File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(versionedDcp), "stub"); 274File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDir.FullName), "stub"); 319File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDir), "stub");
Layout\TrayLayoutTests.cs (1)
31File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(Path.Combine(components, "dcp")), "");
Processes\ProcessTreeGracefulShutdownServiceTests.cs (8)
100File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 137File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 162File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(mutableDcpDirectory.FullName), string.Empty); 166var leasedDcpPath = BundleDiscovery.GetDcpExecutablePath(leasedDcpDirectory.FullName); 225File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 281File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 320File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 359File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty);
Projects\DotNetAppHostProjectTests.cs (4)
517File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(customDcpDirectory.FullName), ""); 570File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(inheritedDcpDirectory), ""); 732File.Delete(BundleDiscovery.GetDcpExecutablePath(layout.GetDcpPath()!)); 4791File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), "");
Utils\DcpConnectionHealthCheckTests.cs (1)
318File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty);