Browse Source

improve exception message.

pull/6281/head
Ilkay Ilknur 6 years ago
parent
commit
bd2d8bd7dc
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

@ -28,7 +28,7 @@ namespace Volo.Abp.Cli.Bundling
var projectFiles = Directory.GetFiles(directory, "*.csproj");
if (!projectFiles.Any())
{
throw new BundlingException("No project file found in the directory");
throw new BundlingException("No project file found in the directory. The working directory must have a Blazor project file.");
}
var projectFilePath = projectFiles[0];

Loading…
Cancel
Save