RuntimeSpec
Class sealed net8.0
Specifies the runtime execution configuration for a language.
namespace Aspire.TypeSystem;
public sealed class RuntimeSpec{ // ...} 10 members
Constructors1
Section titled ConstructorsProperties9
Section titled PropertiesCodeGenLanguageget; initstring Gets the code generation language identifier for the generateCode RPC.
DetectionPatternsget; initstring[] Gets the file patterns used to detect this language (e.g., ["apphost.ts"]).
DisplayNameget; initstring Gets the display name for the language (e.g., "TypeScript (Node.js)").
Executeget; init Gets the command to execute the AppHost for run.
ExtensionLaunchCapabilityget; initstring? Gets the extension capability required to launch this language via the VS Code extension. When set (e.g., "node"), the CLI will use the extension launcher if the extension reports this capability. When null, the CLI always uses the default process-based launcher.
InstallDependenciesget; init Gets the command to install dependencies. Null if no dependencies to install.
Languageget; initstring Gets the language identifier (e.g., "TypeScript", "Python").
PublishExecuteget; init Gets the command to execute the AppHost for publish. Null to use Execute with args appended.
WatchExecuteget; init Gets the command to execute the AppHost in watch mode. Null if watch mode not supported.