165 references to Start
AnalyzeCiFailure.Tests (1)
tests\Infrastructure.Tests\ExecutableFile.cs (1)
48using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start /bin/sh.");
aspire (7)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
304using var findCertificateProcess = Process.Start(new ProcessStartInfo(
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
754using var process = Process.Start(startInfo)!;
src\Shared\ChildProcess.cs (1)
156process = Process.Start(startInfo)
src\Shared\ContainerRuntimeProbe.cs (3)
141using var process = Process.Start(startInfo); 275using var process = Process.Start(startInfo); 371using var process = Process.Start(startInfo);
Utils\ProcessCaptureRunner.cs (1)
51var started = Process.Start(startInfo);
aspire-tray (5)
FolderApplication.cs (1)
145using var process = Process.Start(start) ?? throw new InvalidOperationException("Windows could not start the selected application.");
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
106using var process = Process.Start(CreateWatchStartInfo(_cliPath))
src\Aspire.Tray\Common\CliAppHostCommands.cs (2)
63process = Process.Start(startInfo) ?? throw new InvalidOperationException("Could not start the Aspire CLI."); 110using var process = Process.Start(CreateStopStartInfo(cliPath, target))
src\Aspire.Tray\Common\WindowsLoginBootstrap.cs (1)
29using var process = Process.Start(CreateStartInfo(cliPath))
Aspire.Acquisition.Tests (2)
Scripts\Common\FileHelper.cs (1)
45using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start /bin/sh.");
Scripts\FileHelperTests.cs (1)
39using var process = Process.Start(startInfo)!;
Aspire.Cli.EndToEnd.Tests (6)
Helpers\CliE2ETestHelpers.cs (2)
534using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start docker build process."); 584using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start docker build process.");
Helpers\GitHttpServer.cs (1)
64using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Could not start the Git HTTP backend.");
Helpers\KubernetesDeployTestHelpersTests.cs (1)
84using var process = Process.Start(startInfo)!;
McpDocsE2ETests.cs (1)
427using var process = Process.Start(startInfo)
SettledNpmReleasesTests.cs (1)
87using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start bash.");
Aspire.Cli.Tests (18)
Agents\TelemetryHookScriptTests.cs (1)
678using var process = Process.Start(psi)!;
Backchannel\AuxiliaryBackchannelMonitorTests.cs (1)
812using var process = Process.Start(startInfo);
Backchannel\OrphanedAppHostCollectorTests.cs (1)
173using var cliProcess = Process.Start(psi);
Commands\AppHostLauncherTests.cs (3)
622startedProcess = Process.Start(new ProcessStartInfo 632forkProcess = Process.Start(new ProcessStartInfo 1514StartedProcess = Process.Start(CreateProcessStartInfo(workingDirectory)) ?? throw new InvalidOperationException("Failed to start test child process.");
Commands\CompletionScriptTests.cs (1)
324using var process = Process.Start(startInfo)!;
DotNet\DotNetCliRunnerTests.cs (2)
579using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Could not start dotnet."); 2935using var process = Process.Start(processStartInfo) ?? throw new InvalidOperationException("Failed to start dotnet msbuild.");
Npm\AspireJsLauncherTests.cs (1)
377using var process = Process.Start(psi)!;
Processes\ProcessTreeGracefulShutdownServiceTests.cs (2)
428var process = Process.Start(startInfo); 444var process = Process.Start(startInfo);
Projects\AppHostServerProjectTests.cs (1)
162using var process = Process.Start(startInfo);
Projects\JavaAppHostToolchainResolverTests.cs (1)
651using var process = Process.Start(startInfo) ?? throw new InvalidOperationException($"Failed to start '{command.Command}'.");
Projects\PrebuiltAppHostServerTests.cs (3)
182using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start dotnet restore."); 618using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start dotnet build."); 839using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start dotnet build.");
tests\Shared\TestProcesses.cs (1)
45var process = Process.Start(psi) ?? throw new InvalidOperationException("Failed to start long-running test process.");
Aspire.Dashboard (2)
Model\VolumePathLauncher.cs (1)
44using var process = Process.Start(startInfo);
src\Shared\ChildProcess.cs (1)
156process = Process.Start(startInfo)
Aspire.Dashboard.Playwright.Tests (1)
Integration\Playwright\NativeAotDashboardTests.cs (1)
54using var dashboardProcess = Process.Start(startInfo)
Aspire.Deployment.EndToEnd.Tests (1)
AzureSandboxesDeploymentTests.cs (1)
742using var process = Process.Start(startInfo);
Aspire.Hosting (3)
src\Shared\ContainerRuntimeProbe.cs (3)
141using var process = Process.Start(startInfo); 275using var process = Process.Start(startInfo); 371using var process = Process.Start(startInfo);
Aspire.Hosting.Azure.Tests (1)
FoundryExtensionsTests.cs (1)
226using var daemon = Process.Start(daemonStartInfo) ??
Aspire.Hosting.CodeGeneration.Go.Tests (2)
AtsGoCodeGeneratorTests.cs (2)
1319using var process = Process.Start(startInfo)!; 1795using var process = Process.Start(startInfo)!;
Aspire.Hosting.CodeGeneration.Python (1)
PythonLanguageSupport.cs (1)
280using var process = Process.Start(startInfo);
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
561process = Process.Start(startInfo);
Aspire.Hosting.Java.Tests (4)
AddJavaAppPublishTests.cs (3)
55using var process = Process.Start(new ProcessStartInfo("sh") 1716using var process = Process.Start(new ProcessStartInfo 1880using var process = Process.Start(new ProcessStartInfo("/bin/sh")
AddJavaAppTests.cs (1)
826using var process = Process.Start(new ProcessStartInfo(app.Resource.Command)
Aspire.Hosting.JavaScript.Tests (4)
AddDenoAppTests.cs (1)
2713using var process = Process.Start(processStartInfo);
AddJavaScriptAppTests.cs (3)
656using var process = Process.Start(processStartInfo); 667using var cleanupProcess = Process.Start(new ProcessStartInfo 763using var process = Process.Start(processStartInfo);
Aspire.Hosting.Maui (1)
Utilities\ProjectFileReader.cs (1)
70using var process = Process.Start(startInfo);
Aspire.Hosting.Native.Client (1)
NativeProviderHost.cs (1)
121activation = new NativeProviderActivation(Process.Start(start) ?? throw new InvalidOperationException("The provider process did not start."), options, clock);
Aspire.Hosting.Native.Core.Tests (9)
NativeComposeCSharpDockerTests.cs (1)
97using var process = Process.Start(start)!;
NativeComposeCSharpTests.cs (1)
145using var process = Process.Start(start)!;
NativeIpcSecurityTests.cs (1)
83using var process = Process.Start(start) ?? throw new InvalidOperationException("The cross-user probe did not start.");
NativeProductCliTests.cs (1)
58process = Process.Start(start) ?? throw new InvalidOperationException("The CLI did not start.");
NativeRedisAppHostTests.cs (2)
59using var snapshot = Process.Start(verify)!; 74using var cleanup = Process.Start(start)!;
TestServices\NativeClientTestHost.cs (1)
79host._process = Process.Start(start) ?? throw new InvalidOperationException("The native test server did not start.");
TestServices\NativeIntegrationAppHostRunner.cs (1)
24using var process = Process.Start(start) ?? throw new InvalidOperationException("The AppHost did not start.");
TestServices\NativeProviderProcessTestHost.cs (1)
26var process = System.Diagnostics.Process.Start(start) ?? throw new InvalidOperationException("The provider fixture did not start.");
Aspire.Hosting.Native.Server (1)
Dcp\DcpApiClient.cs (1)
85_process = Process.Start(start) ?? throw new InvalidOperationException("DCP did not start.");
Aspire.Hosting.Python (1)
PythonVersionDetector.cs (1)
78using var process = Process.Start(startInfo);
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
336var createVirtualEnvironmentProcess = Process.Start(prepareVirtualEnvironmentStartInfo); 376var installRequirementsProcess = Process.Start(installRequirementsStartInfo);
Aspire.Hosting.Redis.Tests (1)
AddRedisTests.cs (1)
829using var process = Process.Start(startInfo)!;
Aspire.Hosting.RemoteHost (1)
src\Shared\ChildProcess.cs (1)
156process = Process.Start(startInfo)
Aspire.Hosting.RemoteHost.Tests (1)
TestServices\IntegrationHostProcessFixture.cs (1)
351_server = Process.Start(startInfo) ?? throw new InvalidOperationException("Could not start test server.");
Aspire.Hosting.Rust.Tests (1)
RustDockerfileShellTests.cs (1)
219using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start /bin/sh.");
Aspire.Hosting.Sdk.Tests (2)
AppHostSdkTargetsTests.cs (2)
2671using var process = Process.Start(new ProcessStartInfo("dotnet", arguments) 2737using var process = Process.Start(startInfo);
Aspire.Hosting.Tasks (1)
ResolveAspireCliInvocation.cs (1)
160using var process = Process.Start(startInfo);
Aspire.Hosting.Tests (1)
tests\Shared\TestProcesses.cs (1)
45var process = Process.Start(psi) ?? throw new InvalidOperationException("Failed to start long-running test process.");
Aspire.Managed.Tests (5)
TerminalHostSignalTests.cs (5)
43using var process = Process.Start(startInfo) 187using var process = Process.Start(startInfo)!; 230using var process = Process.Start(startInfo)!; 263using var parentProcess = Process.Start( 294using var process = Process.Start(startInfo)
Aspire.Playground.Tests (1)
tests\Aspire.TestUtilities\TestcontainersPodmanConfiguration.cs (1)
250using var process = Process.Start(startInfo);
Aspire.TestUtilities (1)
TestcontainersPodmanConfiguration.cs (1)
250using var process = Process.Start(startInfo);
Aspire.Tray.Tests (12)
CliAppHostCommandsTests.cs (1)
98using var otherProcess = Process.Start(CliProcess.CreateStartInfo(otherCli.Path))
Helpers\TestNativeCommand.cs (1)
23using var process = Process.Start(startInfo) ?? throw new InvalidOperationException($"Could not start {command}.");
LinuxFolderApplicationTests.cs (1)
101using var process = Process.Start(application.CreateStartInfo(folder))!;
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
106using var process = Process.Start(CreateWatchStartInfo(_cliPath))
src\Aspire.Tray\Common\CliAppHostCommands.cs (2)
63process = Process.Start(startInfo) ?? throw new InvalidOperationException("Could not start the Aspire CLI."); 110using var process = Process.Start(CreateStopStartInfo(cliPath, target))
src\Aspire.Tray\Common\WindowsLoginBootstrap.cs (1)
29using var process = Process.Start(CreateStartInfo(cliPath))
src\Aspire.Tray\Linux\LinuxFolderApplication.cs (1)
61using var process = Process.Start(CreateStartInfo(directory))
src\Aspire.Tray\Linux\LinuxTrayRuntime.cs (1)
165using var child = Process.Start(startInfo) ?? throw new InvalidOperationException("Could not launch the tray.");
WindowsTrayLauncherTests.cs (3)
119using var unrelated = Process.Start(start)!; 120using var child = Process.Start(start)!; 141using var child = Process.Start(new ProcessStartInfo(Path.Combine(Environment.SystemDirectory, "cmd.exe"))
CreateLayout (1)
Program.cs (1)
500using var process = Process.Start(psi);
csc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
673if (Process.Start(startInfo) is { } process)
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\TestApplication.cs (1)
110process = Process.Start(processStartInfo)!;
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
292using var findCertificateProcess = Process.Start(new ProcessStartInfo(
dotnet-getdocument (1)
Exe.cs (1)
39using var process = Process.Start(startInfo)!;
GenerateTemplateManifest (1)
Program.cs (1)
185using (var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start dotnet restore"))
Infrastructure.Common (1)
CertificateManager.cs (1)
310using (var p = Process.Start(psi))
Infrastructure.Tests (9)
ExecutableFile.cs (1)
48using var process = Process.Start(startInfo) ?? throw new InvalidOperationException("Failed to start /bin/sh.");
ExecutableFileTests.cs (2)
28using var process = Process.Start(new ProcessStartInfo("/bin/sh", ["-c", "exit 0"]) { UseShellExecute = false })!; 43using var process = Process.Start(new ProcessStartInfo(path) { UseShellExecute = false })!;
Hex1bNativePublishingTests.cs (1)
499using var process = Process.Start(startInfo)!;
Shared\GitCli.cs (1)
39using var process = Process.Start(psi) ?? throw new InvalidOperationException("Failed to start git.");
TestTriggerMap\TestTriggerMapTests.cs (1)
547using var process = System.Diagnostics.Process.Start(startInfo)
tools\GenerateCITimeline\GitHubApi.cs (1)
17using var process = Process.Start(psi) ?? throw new InvalidOperationException("Failed to start gh process.");
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (1)
363using var process = Process.Start(startInfo)
WorkflowScripts\PrDocsCheckWorkflowTests.cs (1)
40using var process = Process.Start(startInfo)
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ServerInstance.cs (1)
95_process = Process.Start(startInfo)!;
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
76var debugProxyProcess = Process.Start(processStartInfo)!;
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
292using var findCertificateProcess = Process.Start(new ProcessStartInfo(
Microsoft.AspNetCore.Server.IntegrationTesting (1)
src\aspnetcore\src\Shared\Process\ProcessEx.cs (1)
143var proc = Process.Start(startInfo)!;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
292using var findCertificateProcess = Process.Start(new ProcessStartInfo(
Microsoft.AspNetCore.SpaProxy (3)
SpaProxyLaunchManager.cs (3)
199_spaProcess = Process.Start(info); 247using var stopProcess = Process.Start(stopScriptInfo)!; 310using var stopProcess = Process.Start(stopScriptInfo)!;
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
127var process = Process.Start(startInfo)!;
Microsoft.Build (2)
BackEnd\BuildManager\CoordinatorClient.cs (1)
507Process? process = Process.Start(startInfo);
BackEnd\Components\Communications\NodeLauncher.cs (1)
137Process process = Process.Start(processStartInfo);
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
673if (Process.Start(startInfo) is { } process)
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
821signTool = Process.Start(startInfo);
Microsoft.CodeAnalysis.BuildClient.Package (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
673if (Process.Start(startInfo) is { } process)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
124var process = Process.Start(processStartInfo);
Microsoft.DotNet.StrongName (2)
Signing.cs (1)
111var process = Process.Start(new ProcessStartInfo()
Verification.cs (1)
152var process = Process.Start(new ProcessStartInfo()
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
151_ = Process.Start(
Microsoft.Extensions.Http.Resilience.Tests (1)
BuildTransitive\GrpcNetClientFactoryVersionTargetTests.cs (1)
301using var process = Process.Start(processStartInfo) ?? throw new InvalidOperationException("Failed to start dotnet.");
Microsoft.NET.Build.Containers (2)
LocalDaemons\DockerCli.cs (2)
112using Process? loadProcess = Process.Start(loadInfo) ?? 667using var process = Process.Start(psi)!;
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
93using (var p = Process.Start(psi))
Microsoft.TemplateEngine.Cli (2)
PostActionProcessors\ChmodPostActionProcessor.cs (1)
42Process? commandResult = System.Diagnostics.Process.Start(new ProcessStartInfo
PostActionProcessors\ProcessStartPostActionProcessor.cs (1)
53Process? commandResult = System.Diagnostics.Process.Start(new ProcessStartInfo
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
VsTestConsoleProcessManager.cs (1)
167_process = Process.Start(info);
NuGet.CommandLine.XPlat (1)
Commands\Package\Update\PackageUpdateIO.cs (1)
130using var process = Process.Start(processStartInfo);
NuGet.Credentials (1)
PluginCredentialProvider.cs (1)
263using var process = Process.Start(startInfo);
Pipelines.AppHost (4)
AppHost.cs (4)
72var getUserProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo 107var getSubscriptionProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo 142var getResourceGroupProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo 180var assignRoleProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
Pipelines.Library (1)
DistributedApplicationPipelineExtensions.cs (1)
80var publishProcess = Process.Start(new ProcessStartInfo
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
292using var findCertificateProcess = Process.Start(new ProcessStartInfo(
SelectTests (2)
GraphAffectedProjects.cs (1)
566using var process = Process.Start(startInfo)
Program.cs (1)
1348using var process = Process.Start(psi)
SuperFileCheck (1)
Program.cs (1)
115using (var proc = Process.Start(startInfo))
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
67using (Process p = Process.Start(psi))
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\PerformanceCounterLib.cs (1)
1212p = Process.Start(processStartInfo);
System.Diagnostics.Process (7)
System\Diagnostics\Process.cs (4)
552/// Gets or sets the properties to pass into the <see cref='System.Diagnostics.Process.Start(System.Diagnostics.ProcessStartInfo)'/> method for the <see cref='System.Diagnostics.Process'/>. 1514return Start(new ProcessStartInfo(fileName))!; 1533return Start(new ProcessStartInfo(fileName, arguments))!; 1544return Start(new ProcessStartInfo(fileName, arguments))!;
System\Diagnostics\Process.Scenarios.cs (2)
243using Process process = Start(startInfo)!; 321using Process process = Start(startInfo)!;
System\Diagnostics\ProcessStartInfo.cs (1)
267/// causes <see cref="Process.Start(ProcessStartInfo)"/> to throw <see cref="PlatformNotSupportedException"/>.
System.Windows.Forms (1)
System\Windows\Forms\Application.cs (1)
1483Process.Start(currentStartInfo);
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
673if (Process.Start(startInfo) is { } process)
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
673if (Process.Start(startInfo) is { } process)