32 references to GetDcpExecutablePath
aspire (10)
Bundles\BundleService.cs (1)
620var dcpExe = BundleDiscovery.GetDcpExecutablePath(dcpDir);
Commands\DcpWorkloadCleanupService.cs (1)
34var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Layout\LayoutDiscovery.cs (3)
254var bundleDcpExe = BundleDiscovery.GetDcpExecutablePath(bundleDcpPath); 284var dcpExePath = BundleDiscovery.GetDcpExecutablePath(dcpPath); 347!File.Exists(BundleDiscovery.GetDcpExecutablePath(dcpPath)))
Processes\DcpExecutableResolver.cs (1)
36var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Projects\DotNetAppHostProject.cs (1)
2625File.Exists(BundleDiscovery.GetDcpExecutablePath(path));
src\Shared\BundleDiscovery.cs (1)
136var dcpExePath = GetDcpExecutablePath(dcpDir);
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
230var dcpExecutablePath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
46var dcpExecutablePath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory);
Aspire.Cli.Tests (22)
BundleServiceIntegrationTests.cs (1)
632var dcpExe = BundleDiscovery.GetDcpExecutablePath(dcpDir);
BundleServiceTests.cs (2)
159File.Delete(BundleDiscovery.GetDcpExecutablePath(Path.Combine(dir, BundleDiscovery.DcpDirectoryName))); 239File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDir), "dcp");
Commands\StopCommandTests.cs (1)
1228File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), "");
DotNet\ProcessExecutionDetachedTests.cs (3)
309var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName); 365var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName); 415var dcpPath = BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName);
Layout\LayoutDiscoveryReparsePointTests.cs (2)
105File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(versionedDcp), "stub"); 253File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDir), "stub");
Processes\ProcessTreeGracefulShutdownServiceTests.cs (8)
25File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 62File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 87File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(mutableDcpDirectory.FullName), string.Empty); 91var leasedDcpPath = BundleDiscovery.GetDcpExecutablePath(leasedDcpDirectory.FullName); 150File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 206File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 245File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty); 284File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty);
Projects\DotNetAppHostProjectTests.cs (4)
483File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(customDcpDirectory.FullName), ""); 536File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(inheritedDcpDirectory), ""); 698File.Delete(BundleDiscovery.GetDcpExecutablePath(layout.GetDcpPath()!)); 4242File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), "");
Utils\DcpConnectionHealthCheckTests.cs (1)
249File.WriteAllText(BundleDiscovery.GetDcpExecutablePath(dcpDirectory.FullName), string.Empty);