Browse Source
Merge pull request #10520 from abpframework/maliming/CSharpServiceProxyGenerator
Update CSharpServiceProxyGenerator.cs
pull/10536/head
liangshiwei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
3 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs
|
|
|
@ -395,11 +395,10 @@ namespace Volo.Abp.Cli.ServiceProxying.CSharp |
|
|
|
throw new CliUsageException("Specified directory does not exist."); |
|
|
|
} |
|
|
|
|
|
|
|
var projectFiles = Directory.GetFiles(directory, "*HttpApi.Client.csproj"); |
|
|
|
var projectFiles = Directory.GetFiles(directory, "*.csproj"); |
|
|
|
if (!projectFiles.Any()) |
|
|
|
{ |
|
|
|
throw new CliUsageException( |
|
|
|
"No project file found in the directory. The working directory must have a HttpApi.Client project file."); |
|
|
|
throw new CliUsageException("No project file(csproj) found in the directory."); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|