119 writes to FileName
aspire (11)
Commands\UpdateCommand.cs (1)
494FileName = exePath,
DotNet\DotNetCliExecutionFactory.cs (1)
115startInfo.FileName = dotnetExecutablePath;
DotNet\DotNetSdkInstaller.cs (1)
36FileName = "dotnet",
Layout\LayoutProcessRunner.cs (1)
85process.StartInfo.FileName = toolPath;
Processes\DetachedProcessLauncher.Unix.cs (1)
22FileName = fileName,
Projects\ProcessGuestLauncher.cs (1)
48FileName = resolvedCommand,
Utils\CliDownloader.cs (1)
126FileName = lddPath,
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (3)
93FileName = runtimeLower, 242FileName = runtimeLower, 457FileName = runtimeLower,
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
28FileName = "dotnet",
Aspire.Cli.EndToEnd.Tests (2)
KubernetesPublishTests.cs (1)
315cleanupProcess.StartInfo.FileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "bin", "kind");
tests\Shared\TemporaryRepo.cs (1)
26FileName = "git",
Aspire.Cli.Tests (1)
tests\Shared\TemporaryRepo.cs (1)
26FileName = "git",
Aspire.Deployment.EndToEnd.Tests (28)
AcaCompactNamingDeploymentTests.cs (1)
196FileName = "az",
AcaCompactNamingUpgradeDeploymentTests.cs (1)
310FileName = "az",
AcaCustomRegistryDeploymentTests.cs (1)
266FileName = "az",
AcaDeploymentErrorOutputTests.cs (1)
196FileName = "az",
AcaExistingRegistryDeploymentTests.cs (1)
290FileName = "az",
AcaManagedRedisDeploymentTests.cs (1)
368FileName = "az",
AcaStarterDeploymentTests.cs (1)
235FileName = "az",
AcrPurgeTaskDeploymentTests.cs (1)
297FileName = "az",
AksStarterDeploymentTests.cs (1)
383FileName = "az",
AksStarterWithRedisDeploymentTests.cs (1)
411FileName = "az",
AppServicePythonDeploymentTests.cs (1)
220FileName = "az",
AppServiceReactDeploymentTests.cs (1)
235FileName = "az",
AzureAppConfigDeploymentTests.cs (1)
201FileName = "az",
AzureContainerRegistryDeploymentTests.cs (1)
176FileName = "az",
AzureEventHubsDeploymentTests.cs (1)
201FileName = "az",
AzureKeyVaultDeploymentTests.cs (1)
201FileName = "az",
AzureLogAnalyticsDeploymentTests.cs (1)
176FileName = "az",
AzureServiceBusDeploymentTests.cs (1)
203FileName = "az",
AzureStorageDeploymentTests.cs (1)
208FileName = "az",
PythonFastApiDeploymentTests.cs (1)
221FileName = "az",
tests\Shared\TemporaryRepo.cs (1)
26FileName = "git",
TypeScriptExpressDeploymentTests.cs (1)
216FileName = "az",
VnetKeyVaultConnectivityDeploymentTests.cs (1)
285FileName = "az",
VnetKeyVaultInfraDeploymentTests.cs (1)
216FileName = "az",
VnetSqlServerConnectivityDeploymentTests.cs (1)
286FileName = "az",
VnetSqlServerInfraDeploymentTests.cs (1)
217FileName = "az",
VnetStorageBlobConnectivityDeploymentTests.cs (1)
292FileName = "az",
VnetStorageBlobInfraDeploymentTests.cs (1)
218FileName = "az",
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
212FileName = executable,
Aspire.Hosting (1)
Dcp\Process\ProcessUtil.cs (1)
26FileName = processSpec.ExecutablePath,
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
26FileName = processSpec.ExecutablePath,
Aspire.Hosting.DevTunnels (1)
DevTunnelCli.cs (1)
349FileName = _cliPath,
Aspire.Hosting.Docker (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
26FileName = processSpec.ExecutablePath,
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (2)
127FileName = "docker", 149FileName = "docker",
Aspire.Hosting.Maui (1)
Utilities\ProjectFileReader.cs (1)
62FileName = "dotnet",
Aspire.Hosting.Python (1)
PythonVersionDetector.cs (1)
70FileName = pythonExecutable,
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
309FileName = "python", 339FileName = pipPath,
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
212FileName = executable,
csc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
623FileName = serverInfo.processFilePath,
dotnet (10)
CommandFactory\CommandFactoryUsingResolver.cs (1)
105FileName = commandSpec.Path,
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (1)
127FileName = new Muxer().MuxerPath,
Commands\Help\HelpCommand.cs (3)
52FileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "cmd.exe"), 60FileName = @"/usr/bin/open", 72FileName = fileName,
Commands\Test\MTP\TestApplication.cs (1)
129FileName = Module.RunProperties.Command,
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.8.0-1.26268.104\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
623FileName = serverInfo.processFilePath,
Telemetry\MacAddressGetter.cs (3)
71FileName = fileName, 92FileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "getmac.exe"), 116FileName = fileName,
dotnet-svcutil-lib (1)
Shared\Utilities\ProcessRunner.cs (1)
75proc.StartInfo.FileName = processName;
dotnet-user-jwts (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
56FileName = DotNetMuxer.MuxerPathOrDefault(),
dotnet-user-secrets (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
56FileName = DotNetMuxer.MuxerPathOrDefault(),
Infrastructure.Tests (4)
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
24FileName = "dotnet",
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
290FileName = "dotnet",
PowerShellScripts\PowerShellCommand.cs (1)
203FileName = "pwsh",
WorkflowScripts\NodeCommand.cs (1)
183FileName = "node",
Microsoft.Arcade.Common (1)
Command.cs (1)
39FileName = executable,
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
384 launchBrowser.StartInfo.FileName = uri.ToString();
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
384 launchBrowser.StartInfo.FileName = uri.ToString();
Microsoft.Build (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
124FileName = exeName,
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
623FileName = serverInfo.processFilePath,
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
663startInfo.FileName = pathToTool;
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\BuildHostProcessManager.cs (3)
242FileName = dotnetPath ?? DotnetExecutable, 270FileName = netFrameworkBuildHost, 282FileName = "mono"
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
159FileName = DotNetInstallScript,
Microsoft.DotNet.Cli.Utils (1)
ForwardingAppImplementation.cs (1)
76FileName = GetHostExeName(),
Microsoft.DotNet.HotReload.Watch (1)
Process\ProcessRunner.cs (1)
149FileName = processSpec.Executable,
Microsoft.DotNet.MacOsPkg.Core (1)
ExecuteHelper.cs (1)
39FileName = command,
Microsoft.DotNet.StrongName (2)
Signing.cs (1)
118FileName = snPath,
Verification.cs (1)
154FileName = snPath,
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
154FileName = outputFilePath,
Microsoft.Extensions.DataIngestion.MarkItDown (1)
MarkItDownReader.cs (1)
51FileName = _exePath?.FullName ?? "markitdown",
Microsoft.Extensions.DataIngestion.Tests (1)
Readers\MarkItDownConditionAttribute.cs (1)
28FileName = "markitdown",
Microsoft.ML.CodeGenerator (3)
Utils.cs (3)
199proc.StartInfo.FileName = @"dotnet"; 224proc.StartInfo.FileName = @"dotnet"; 245proc.StartInfo.FileName = @"dotnet";
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
232FileName = exeFilename,
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
29FileName = CodesignPath,
Microsoft.NET.Sdk.Razor.Tasks (1)
src\sdk\src\RazorSdk\Tool\ServerProtocol\ServerConnection.cs (1)
389FileName = expectedPath,
Microsoft.TemplateEngine.Cli (2)
PostActionProcessors\ChmodPostActionProcessor.cs (1)
49FileName = "/bin/sh",
PostActionProcessors\ProcessStartPostActionProcessor.cs (1)
60FileName = resolvedExecutablePath,
Microsoft.TestPlatform.Build (1)
Tasks\VSTestTask.cs (1)
74FileName = TestTaskUtils.ResolveDotnetPath() ?? "dotnet",
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
ProcessCodeMethods.cs (1)
140ps.StartInfo.FileName = "ps";
Microsoft.TestPlatform.PlatformAbstractions (1)
common\System\ProcessHelper.cs (1)
85process.StartInfo.FileName = processPath;
NuGet.Build.Tasks (1)
StaticGraphRestoreTaskBase.cs (1)
126FileName = GetProcessFileName(ProcessFileName),
NuGet.Credentials (1)
PluginCredentialProvider.cs (1)
190FileName = Path,
NuGet.Packaging (1)
NuGetExtractionFileIO.cs (1)
117process.StartInfo.FileName = "sh";
NuGet.Protocol (1)
Plugins\PluginFactory.cs (1)
175FileName = _environmentVariableReader.GetEnvironmentVariable("DOTNET_HOST_PATH") ??
Pipelines.AppHost (4)
AppHost.cs (4)
76FileName = "az", 111FileName = "az", 146FileName = "az", 184FileName = "az",
Pipelines.Library (1)
DistributedApplicationPipelineExtensions.cs (1)
76FileName = "dotnet",
PresentationUI (2)
InstallationError.xaml.cs (1)
212Notepad.StartInfo.FileName = "Notepad.exe";
TenFeetInstallationError.xaml.cs (1)
216Notepad.StartInfo.FileName = "Notepad.exe";
rzc (1)
ServerProtocol\ServerConnection.cs (1)
389FileName = expectedPath,
SuperFileCheck (1)
Program.cs (1)
104startInfo.FileName = FileCheckPath;
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\PerformanceCounterLib.cs (2)
1204processStartInfo.FileName = Environment.SystemDirectory + "\\unlodctr.exe"; 1206processStartInfo.FileName = Environment.SystemDirectory + "\\lodctr.exe";
System.Windows.Forms (1)
System\Windows\Forms\Application.cs (1)
1314FileName = ExecutablePath
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
623FileName = serverInfo.processFilePath,
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
623FileName = serverInfo.processFilePath,
30 references to FileName
aspire (1)
DotNet\DotNetCliExecution.cs (1)
28public string FileName => _process.StartInfo.FileName;
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
33StringBuilder message = new StringBuilder($"{messagePrefix} Expected {expectedExitCode} exit code but got {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}");
Aspire.Hosting.DevTunnels (1)
DevTunnelCli.cs (1)
246logger?.LogTrace("Invoking devtunnel CLI{ShellExecuteInfo}: {FileName} {Arguments}", useShellExecute ? " (UseShellExecute=true)" : "", process.StartInfo.FileName, EscapeArgList(process.StartInfo.ArgumentList));
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
33StringBuilder message = new StringBuilder($"{messagePrefix} Expected {expectedExitCode} exit code but got {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}");
dotnet (1)
Commands\Test\MTP\TestApplication.cs (1)
53Logger.LogTrace($"Starting test process with command '{processStartInfo.FileName}' and arguments '{processStartInfo.Arguments}'.");
dotnet-user-jwts (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
75_reporter.Verbose($"Invoking '{psi.FileName} {string.Join(' ', psi.ArgumentList)}'");
dotnet-user-secrets (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
75_reporter.Verbose($"Invoking '{psi.FileName} {string.Join(' ', psi.ArgumentList)}'");
Infrastructure.Tests (2)
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
311_output.WriteLine($"Running: {psi.FileName} {string.Join(" ", psi.ArgumentList)}");
PowerShellScripts\PowerShellCommand.cs (1)
275var message = $"{messagePrefix} Expected {expectedExitCode} exit code but got {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}";
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
86outputHelper.WriteLine($"Executing '{processStartInfo.FileName} {string.Join(" ", Arguments)}' in working directory '{processStartInfo.WorkingDirectory}'");
Microsoft.Arcade.Common (3)
Command.cs (2)
213$"{info.WorkingDirectory}> {info.FileName}" : 214info.FileName;
CommandResult.cs (1)
31StringBuilder message = new StringBuilder($"Command failed with exit code {ExitCode}: {StartInfo.FileName} {StartInfo.Arguments}");
Microsoft.DotNet.Cli.Utils (4)
Command.cs (4)
32_process.StartInfo.FileName, 187public string CommandName => _process.StartInfo.FileName; 209return info.FileName; 212return $"{info.FileName} {info.Arguments}";
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
86outputHelper.WriteLine($"Executing '{processStartInfo.FileName} {string.Join(" ", Arguments)}' in working directory '{processStartInfo.WorkingDirectory}'");
Microsoft.McpServer.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
86outputHelper.WriteLine($"Executing '{processStartInfo.FileName} {string.Join(" ", Arguments)}' in working directory '{processStartInfo.WorkingDirectory}'");
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\GenerateEFSQLScripts.cs (1)
103Log.LogMessage(MessageImportance.High, string.Format("Executing command: {0} {1}", psi.FileName, psi.Arguments));
Microsoft.TestPlatform.Build (1)
Tasks\VSTestTask.cs (1)
85Tracing.Trace($"VSTest: Arguments: {processInfo.FileName} {processInfo.Arguments}");
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
VsTestConsoleProcessManager.cs (1)
142EqtTrace.Verbose("VsTestCommandLineWrapper.StartProcess: Process Start Info {0} {1}", info.FileName, info.Arguments);
NuGet.Build.Tasks (1)
StaticGraphRestoreTaskBase.cs (1)
153Log.LogMessageFromResources(MessageImportance.Low, nameof(Strings.Log_RunningStaticGraphRestoreCommand), process.StartInfo.FileName, process.StartInfo.Arguments);
System.Diagnostics.Process (7)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (3)
206filename = ProcessUtils.ResolvePath(startInfo.FileName); 250string? filename = ProcessUtils.ResolveExecutableForShellExecute(startInfo.FileName, cwd); 305throw ProcessUtils.CreateExceptionForErrorStartingProcess(error.GetErrorMessage(), error.RawErrno, startInfo.FileName, cwd);
System\Diagnostics\ProcessStartInfo.cs (2)
36/// Default constructor. At least the <see cref='System.Diagnostics.ProcessStartInfo.FileName'/> 407if (FileName.Length == 0)
System\Diagnostics\ProcessUtils.Unix.cs (2)
297return new string[] { psi.FileName }; 310argvList.Add(psi.FileName);