Skip to content

Commit

Permalink
Update src/BenchmarkDotNet/Toolchains/CsProj/CsProjGenerator.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Cassell <35501420+timcassell@users.noreply.github.com>
  • Loading branch information
Genbox and timcassell authored Jan 6, 2025
1 parent 33ab1dd commit 4479071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Toolchains/CsProj/CsProjGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ protected virtual FileInfo GetProjectFilePath(BenchmarkCase benchmark, ILogger l
if (notFound.Count > 0)
message = $"Unable to find {projectName} in any of the paths: {string.Join(", ", notFound)} or in {rootDirectory.FullName} and its subfolders";
else
message = $"Unable to find {projectName} in {rootDirectory.FullName} and its subfolders. Most probably the name of output exe is different than the name of the .(c/f)sproj";
message = $"Unable to find {projectName} in {rootDirectory.FullName} and its subfolders. Most probably the name of output exe is different than the name of the .(c/f)sproj. You can add an IFileLocator to the config if this is on purpose.";

throw new FileNotFoundException(message);
}
Expand Down

0 comments on commit 4479071

Please sign in to comment.