Fixup: better error message for no-projects-or-solutions

This commit is contained in:
Michael B. Gale
2023-02-15 13:45:38 +00:00
parent c55281a68e
commit 7e4808440e

View File

@@ -165,7 +165,9 @@ namespace Semmle.Autobuild.CSharp
if (this.ProjectsOrSolutionsToBuild.Count == 0)
{
var message = MakeDiagnostic("no-projects-or-solutions", "No project or solutions files found");
message.PlaintextMessage = "CodeQL could not find any project or solution files in your repository.";
message.PlaintextMessage =
"CodeQL could not find any project or solution files in your repository. " +
"You can manually specify a suitable build command for your project.";
message.Severity = DiagnosticMessage.TspSeverity.Error;
Diagnostic(message);