8 references to ProjectPathOption
dotnet (2)
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (1)
116
string.Format(CliCommandStrings.ProjectCapabilityConstraint_Restricted_MultipleProjectsFound_CTA, SharedOptions.
ProjectPathOption
.Name));
Commands\New\NewCommandParser.cs (1)
80
FileInfo? projectPath = parseResult.GetValue(SharedOptions.
ProjectPathOption
);
Microsoft.TemplateEngine.Cli (5)
Commands\create\InstantiateCommand.cs (2)
31
Options.Add(SharedOptions.
ProjectPathOption
);
39
Validators.Add(symbolResult => parentCommand.ValidateOptionUsage(symbolResult, SharedOptions.
ProjectPathOption
));
Commands\create\InstantiateCommand.Help.cs (1)
295
SharedOptions.
ProjectPathOption
Commands\list\BaseListCommand.cs (1)
33
Options.Add(SharedOptions.
ProjectPathOption
);
Commands\NewCommand.cs (1)
44
Options.Add(SharedOptions.
ProjectPathOption
);
Microsoft.TemplateEngine.Cli.UnitTests (1)
ParserTests\MiscTests.cs (1)
208
Assert.Equal(expected, parseResult.GetValue(SharedOptions.
ProjectPathOption
)?.Name);