10 references to InvalidSolutionFormatString
dotnet (4)
Commands\Solution\List\SolutionListCommand.cs (1)
28
throw new GracefulException(CliStrings.
InvalidSolutionFormatString
, solutionFileFullPath, ex.Message);
Commands\Solution\Remove\SolutionRemoveCommand.cs (1)
53
throw new GracefulException(CliStrings.
InvalidSolutionFormatString
, solutionFileFullPath, ex.Message);
SlnFileFactory.cs (2)
80
CliStrings.
InvalidSolutionFormatString
,
100
CliStrings.
InvalidSolutionFormatString
,
dotnet.Tests (6)
CommandTests\Solution\Add\GivenDotnetSlnAdd.cs (2)
126
cmd.StdErr.Should().Match(string.Format(CliStrings.
InvalidSolutionFormatString
, Path.Combine(projectDirectory, $"InvalidSolution{solutionExtension}"), "*"));
153
cmd.StdErr.Should().Match(string.Format(CliStrings.
InvalidSolutionFormatString
, solutionPath, "*"));
CommandTests\Solution\List\GivenDotnetSlnList.cs (2)
102
string.Format(CliStrings.
InvalidSolutionFormatString
, Path.Combine(projectDirectory, "InvalidSolution.sln"), "").TrimEnd('.'));
128
string.Format(CliStrings.
InvalidSolutionFormatString
, solutionFullPath, "").TrimEnd('.'));
CommandTests\Solution\Remove\GivenDotnetSlnRemove.cs (2)
107
cmd.StdErr.Should().Match(string.Format(CliStrings.
InvalidSolutionFormatString
, Path.Combine(projectDirectory, $"InvalidSolution{solutionExtension}"), "*"));
133
cmd.StdErr.Should().Match(string.Format(CliStrings.
InvalidSolutionFormatString
, solutionPath, "*"));