5 references to FrameworkOption
dotnet (4)
Commands\Reference\Add\ReferenceAddCommand.cs (3)
51
var frameworkString = _parseResult.GetValue(Definition.
FrameworkOption
);
115
if (!string.IsNullOrEmpty(_parseResult.GetValue(Definition.
FrameworkOption
)))
117
throw new GracefulException(CliCommandStrings.InvalidOptionForFileBasedApp, Definition.
FrameworkOption
.Name);
Commands\Reference\ReferenceCommandParser.cs (1)
21
command.AddCommand.
FrameworkOption
.AddCompletions(CliCompletion.TargetFrameworksFromProjectFile);
Microsoft.DotNet.Cli.Definitions (1)
Commands\Reference\ReferenceAddCommandDefinition.cs (1)
57
Options.Add(
FrameworkOption
);