18 writes to Execute
aspire (2)
Projects\JavaAppHostToolchainResolver.cs (1)
374Execute = CreateExecuteCommand(classesDirectory, dependencyDirectory),
Projects\TypeScriptAppHostToolchainResolver.cs (1)
155Execute = CreateExecuteCommand(toolchain, tsConfigFileName),
Aspire.Cli.Tests (10)
Projects\GuestRuntimeTests.cs (6)
61Execute = execute ?? new CommandSpec 633Execute = new CommandSpec { Command = "test-cmd", Args = ["{appHostFile}"] }, 671Execute = new CommandSpec { Command = "npx", Args = ["tsx", "{appHostFile}"] }, 698Execute = new CommandSpec { Command = "npx", Args = ["tsx", "{appHostFile}"] } 958Execute = new CommandSpec 1006Execute = new CommandSpec
Projects\JavaAppHostToolchainResolverTests.cs (2)
61Execute = new CommandSpec 212Execute = baseSpec.Execute
Projects\TypeScriptAppHostToolchainResolverTests.cs (1)
371Execute = new CommandSpec
TestServices\FakeAppHostServerSession.cs (1)
116Execute = new CommandSpec { Command = "node", Args = ["apphost.js"] }
Aspire.Hosting.CodeGeneration.Go (1)
GoLanguageSupport.cs (1)
140Execute = new CommandSpec
Aspire.Hosting.CodeGeneration.Java (1)
JavaLanguageSupport.cs (1)
300Execute = new CommandSpec
Aspire.Hosting.CodeGeneration.Python (2)
PythonLanguageSupport.cs (2)
194Execute = new CommandSpec 235Execute = new CommandSpec
Aspire.Hosting.CodeGeneration.Rust (1)
RustLanguageSupport.cs (1)
143Execute = new CommandSpec
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptLanguageSupport.cs (1)
271Execute = new CommandSpec
22 references to Execute
aspire (5)
Projects\GuestAppHostProject.cs (2)
2067runtimeSpec.Execute.Command, 2068string.Join(" ", runtimeSpec.Execute.Args));
Projects\GuestRuntime.cs (2)
183: _spec.Execute; 223var commandSpec = _spec.PublishExecute ?? _spec.Execute;
Projects\TypeScriptAppHostToolchainResolver.cs (1)
285var args = runtimeSpec.Execute.Args;
Aspire.Cli.Tests (13)
Projects\JavaAppHostToolchainResolverTests.cs (7)
166Assert.Equal("java", spec.Execute.Command); 169spec.Execute.Args); 170Assert.DoesNotContain(spec.Execute.Args, arg => arg.Contains("{args}", StringComparison.Ordinal)); 212Execute = baseSpec.Execute 261Assert.Equal("java", spec.Execute.Command); 264spec.Execute.Args); 562spec.Execute.Args);
Projects\TypeScriptAppHostToolchainResolverTests.cs (6)
295Assert.Equal("bun", runtimeSpec.Execute.Command); 296Assert.Equal(["run", "{appHostFile}"], runtimeSpec.Execute.Args); 325Assert.Equal("yarn", runtimeSpec.Execute.Command); 326Assert.Equal(["run", "tsx", "--tsconfig", "tsconfig.apphost.json", "{appHostFile}"], runtimeSpec.Execute.Args); 344Assert.Equal("pnpm", runtimeSpec.Execute.Command); 345Assert.Equal(["exec", "tsx", "--tsconfig", "tsconfig.apphost.json", "{appHostFile}"], runtimeSpec.Execute.Args);
Aspire.Hosting.CodeGeneration.Rust.Tests (3)
RustLanguageSupportTests.cs (3)
87Assert.Equal("cargo", runtimeSpec.Execute.Command); 88Assert.Equal(["run", "--bin", "apphost", "--"], runtimeSpec.Execute.Args); 115Assert.Equal(["run", "--bin", "apphost", "--"], runtimeSpec.Execute.Args);
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
TypeScriptLanguageSupportTests.cs (1)
263Assert.Equal(new[] { "--no-install", "tsx", "--tsconfig", "tsconfig.apphost.json", "{appHostFile}" }, runtimeSpec.Execute.Args);