#pragma warning disable ASPIREPROCESSCOMMAND001
var builder = DistributedApplication.CreateBuilder(args);
builder.AddRedis("cache")
.WithProcessCommand(
name: "dotnet-version",
displayName: "Show .NET version",
executablePath: "dotnet",
arguments: ["--version"]);
REGRESSION INFO: New feature on Aspire 13.4
INSTALL STEPS
iex "& { $(irm https://aspire.dev/install.ps1) } -Quality staging"REPRO STEPS
AppHost.cs, update and save the code based on aspire-13-4.mdACTUAL
WithProcessCommandmethod, the parameter name iscommandName, notname.