13 references to RestoreCommandParser
dotnet (8)
Commands\Build\BuildCommandParser.cs (1)
75
RestoreCommandParser
.AddImplicitRestoreOptions(command, includeRuntimeOption: false, includeNoDependenciesOption: false);
Commands\Pack\PackCommandParser.cs (1)
117
RestoreCommandParser
.AddImplicitRestoreOptions(command, includeRuntimeOption: false, includeNoDependenciesOption: true);
Commands\Publish\PublishCommandParser.cs (1)
73
RestoreCommandParser
.AddImplicitRestoreOptions(command, includeRuntimeOption: false, includeNoDependenciesOption: true);
Commands\Restore\RestoreCommand.cs (4)
26
RestoreCommandParser
.GetCommand(),
27
RestoreCommandParser
.SlnOrProjectOrFileArgument,
43
[CommonOptions.PropertiesOption, CommonOptions.RestorePropertiesOption,
RestoreCommandParser
.TargetOption,
RestoreCommandParser
.VerbosityOption],
Parser.cs (1)
80
RestoreCommandParser
.GetCommand(),
dotnet.Tests (5)
CommandTests\Restore\RestoreParserTests.cs (5)
24
result.GetValue(
RestoreCommandParser
.SlnOrProjectOrFileArgument).Should().BeEquivalentTo(@".\some.csproj");
25
result.OptionValuesToBeForwarded(
RestoreCommandParser
.GetCommand()).Should().Contain(@"--property:SkipInvalidConfigurations=true");
33
result.OptionValuesToBeForwarded(
RestoreCommandParser
.GetCommand()).Should().Contain(@"--property:SkipInvalidConfigurations=true");
42
restore.GetValue(
RestoreCommandParser
.SlnOrProjectOrFileArgument).Should().BeEquivalentTo(@"D:\OSS\corefx\external\runtime\runtime.depproj");
44
restore.GetValue(
RestoreCommandParser
.SourceOption)