2 writes to CurrentDirectory
Aspire.Cli.Tests (1)
System.Private.CoreLib (1)
116 references to CurrentDirectory
aspire (7)
Aspire.Cli.Tests (13)
Aspire.Hosting (4)
Aspire.Hosting.Azure.Tests (4)
Aspire.Hosting.DevTunnels.Tests (1)
Aspire.Hosting.Maui.Tests (1)
Aspire.Hosting.Tests (36)
Dcp\DcpExecutorTests.cs (34)
621var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
659var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
696var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
728builder.AddExecutable("FixedProgram", "fixed", Environment.CurrentDirectory)
730builder.AddExecutable("DynamicProgram", "dynamic", Environment.CurrentDirectory)
761var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
798builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
815builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
844builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
873builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
909builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
953builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
989builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1020builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1052builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1082builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1112var compute = builder.AddExecutable("compute", "compute", Environment.CurrentDirectory)
1114var target = builder.AddExecutable("target", "target", Environment.CurrentDirectory)
1194builder.AddExecutable("FixedProgram", "fixed", Environment.CurrentDirectory)
1196builder.AddExecutable("DynamicProgram", "dynamic", Environment.CurrentDirectory)
1232builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1308builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1352builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
1427builder.AddExecutable("PersistentProgram", "persistent", Environment.CurrentDirectory)
1430builder.AddExecutable("DynamicProgram", "dynamic", Environment.CurrentDirectory)
1469builder.AddExecutable("PersistentProgram", "persistent", Environment.CurrentDirectory)
1536var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo");
5204builder.AddExecutable("worker", "worker", Environment.CurrentDirectory)
5266builder.AddExecutable("worker", "worker", Environment.CurrentDirectory)
5304builder.AddExecutable("worker", "worker", Environment.CurrentDirectory)
5310builder.AddExecutable("worker", "worker", Environment.CurrentDirectory)
5357builder.AddExecutable("worker", "worker", Environment.CurrentDirectory)
5614var resource = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo")
5637var resource = builder.AddExecutable("app", "tool", Environment.CurrentDirectory)
Aspire.Hosting.TestUtilities (3)
dotnet-aot (4)
dotnet-format (2)
dotnet-Microsoft.XmlSerializer.Generator (1)
Infrastructure.Common (1)
Microsoft.AspNetCore (1)
Microsoft.Build (8)
Microsoft.Build.Framework (2)
Microsoft.DotNet.Cli.Definitions (1)
Microsoft.DotNet.TemplateLocator (1)
Microsoft.Extensions.Hosting (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.SearchSpace.Tests (2)
Microsoft.ML.Sweeper (1)
Microsoft.NET.Build.Tasks (1)
Microsoft.NET.HostModel (1)
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (1)
Microsoft.TemplateEngine.Edge (1)
Microsoft.TestPlatform.CrossPlatEngine (1)
MSBuild (2)
NuGet.Build.Tasks (1)
NuGet.CommandLine.XPlat (2)
NuGet.Protocol (1)
rzc (2)
Stress.AppHost (4)
AppHost.cs (4)
19var manualArgSource = builder.AddExecutable("manual-arg-source", "dotnet", Environment.CurrentDirectory)
128builder.AddExecutable("executableWithSingleArg", "dotnet", Environment.CurrentDirectory, "--version");
129builder.AddExecutable("executableWithSingleEscapedArg", "dotnet", Environment.CurrentDirectory, "one two");
130builder.AddExecutable("executableWithMultipleArgs", "dotnet", Environment.CurrentDirectory, "--version", "one two");
System.CodeDom (2)
System\CodeDom\Compiler\Executor.cs (2)
25ExecWaitWithCapture(userToken, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
31ExecWaitWithCapture(IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
System.Private.CoreLib (1)
System.Security.Cryptography.Xml (1)