Browse Source

Merge pull request #12817 from abpframework/volo/issues/10512

Cli: Log special information on Dll not found exception
pull/12819/head
albert 4 years ago
committed by GitHub
parent
commit
b35216ce97
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/SuiteCommand.cs

5
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/SuiteCommand.cs

@ -132,6 +132,11 @@ public class SuiteCommand : IConsoleCommand, ITransientDependency
if (!response.IsNullOrWhiteSpace())
{
Logger.LogError(response);
if (response.Contains("Commercial.SuiteTemplates.dll"))
{
Logger.LogInformation("The solution should be built before generating an entity! Use `dotnet build` to build your solution.");
}
}
else
{

Loading…
Cancel
Save