We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f239eb4 + ae3c9af commit ac5abecCopy full SHA for ac5abec
src/Cli/dotnet/commands/dotnet-tool/common/ToolAppliedOption.cs
@@ -19,7 +19,9 @@ internal class ToolAppliedOption
19
Description = UpdateToolsLocalizableStrings.UpdateAllOptionDescription
20
};
21
22
- public static readonly CliOption<string> VersionOption = ToolInstallCommandParser.VersionOption;
+ public static readonly CliOption<string> VersionOption
23
+ = ToolInstallCommandParser.VersionOption
24
+ ?? new("--version"); // Workaround for Mono runtime (https://github.com/dotnet/sdk/issues/41672)
25
26
public static CliOption<string> ToolPathOption = new("--tool-path")
27
{
0 commit comments