Browse Source

Merge pull request #21314 from abpframework/auto-merge/rel-9-0/3188

Merge branch dev with rel-9.0
pull/21329/head
maliming 2 years ago
committed by GitHub
parent
commit
9861347d7a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/NugetPackageToLocalReferenceConverter.cs

5
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/NugetPackageToLocalReferenceConverter.cs

@ -141,6 +141,11 @@ public class NugetPackageToLocalReferenceConverter : ITransientDependency
private static string[] GetProjectFilesUnder(string path) private static string[] GetProjectFilesUnder(string path)
{ {
if (!Directory.Exists(path))
{
return [];
}
return Directory.GetFiles(path, return Directory.GetFiles(path,
"*.csproj", "*.csproj",
SearchOption.AllDirectories); SearchOption.AllDirectories);

Loading…
Cancel
Save