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