11 references to MinimumGoVersion
aspire (8)
Utils\EnvironmentChecker\GoAppHostToolingCheck.cs (8)
126
if (version <
MinimumGoVersion
)
181
$"Install Go {
MinimumGoVersion
} or later and rerun 'aspire doctor'.");
195
$"Install Go {
MinimumGoVersion
} or later, or change GOTOOLCHAIN to auto, then rerun 'aspire doctor'.");
200
var requiredToolchain = $"go{
MinimumGoVersion
}.0";
206
$"Install Go {
MinimumGoVersion
} or later, or put the {requiredToolchain} toolchain on PATH, then rerun 'aspire doctor'.");
214
$"Go {version} is installed. Go uses a newer toolchain from PATH or downloads the Go {
MinimumGoVersion
} toolchain the first time the AppHost runs. Downloading requires network access.",
215
$"Install Go {
MinimumGoVersion
} or later to avoid the download, then rerun 'aspire doctor'.");
275
Message = $"Go AppHost requires Go {
MinimumGoVersion
} or later.",
Aspire.Cli.Tests (3)
Commands\GoAppHostToolingCheckTests.cs (2)
538
Assert.Equal(GoAppHostToolingCheck.
MinimumGoVersion
.ToString(), directive.Groups[1].Value);
548
Assert.Equal(GoAppHostToolingCheck.
MinimumGoVersion
.ToString(), defaultVersion.Groups[1].Value);
Commands\InitCommandTests.cs (1)
866
$"go {Aspire.Cli.Utils.EnvironmentChecker.GoAppHostToolingCheck.
MinimumGoVersion
}\n\nuse .\n",