27 references to AddExecutable
Aspire.Hosting.Azure.Tests (4)
AzureContainerAppsTests.cs (3)
127builder.AddExecutable("api", "node.exe", Environment.CurrentDirectory) 167builder.AddExecutable("api", "node.exe", Environment.CurrentDirectory) 459builder.AddExecutable("api", "node", ".")
PublicApiTests\AppContainersPublicApiTests.cs (1)
65var executable = builder.AddExecutable("api", "node.exe", Environment.CurrentDirectory);
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
326var container = builder.AddExecutable("service", "foo", ".")
Aspire.Hosting.Tests (21)
Dcp\DcpExecutorTests.cs (10)
231var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 263var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 295var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 328var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 365builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 382builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 416builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 450builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo") 517var exe = builder.AddExecutable("CoolProgram", "cool", Environment.CurrentDirectory, "--alpha", "--bravo"); 1154var exe = builder.AddExecutable("node", "node.exe", ".");
ExecutableResourceTests.cs (1)
21var exe1 = appBuilder.AddExecutable("e1", "ruby", ".", "app.rb")
ManifestGenerationTests.cs (2)
140var resourceBuilder = program.AppBuilder.AddExecutable("program", "run program", "c:/", addExecutableArgs); 177program.AppBuilder.AddExecutable("program", "run program", "c:/");
ResourceExtensionsTests.cs (1)
319RunTest(builder.AddExecutable("myExecutable", "nginx", string.Empty));
Schema\SchemaTests.cs (2)
116builder.AddExecutable(name:"foo", command: "bar", workingDirectory: tempContextPath, "one", "two", "three").PublishAsDockerFile(); 134builder.AddExecutable("executable", "hellworld", "foo", "arg1", "arg2");
WaitForTests.cs (4)
25var dependingExecutableResource = builder.AddExecutable("dependingexecutableresource", "doesnotmatter", "alsodoesntmatter") 234var failToStart = builder.AddExecutable("failToStart", "does-not-exist", "."); 258var failToStart = builder.AddExecutable("failToStart", "does-not-exist", "."); 289var failToStart = builder.AddExecutable("failToStart", "does-not-exist", ".");
WithEndpointTests.cs (1)
205builder.AddExecutable("foo", "foo", ".")
TestingAppHost1.AppHost (1)
Program.cs (1)
36builder.AddExecutable("app", "cmd", ".")