Browse Source

Update SolutionModuleAdder.cs

pull/8099/head
Yunus Emre Kalkan 5 years ago
parent
commit
a85ff122cc
  1. 5
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/SolutionModuleAdder.cs

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

@ -1,4 +1,5 @@
using JetBrains.Annotations;
using System;
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using System.Collections.Generic;
@ -245,7 +246,7 @@ namespace Volo.Abp.Cli.ProjectModification
return;
}
var csprojFile = Directory.GetFiles(projectFolderPath, ".csproj", SearchOption.AllDirectories).FirstOrDefault();
var csprojFile = Directory.GetFiles(projectFolderPath, "*.csproj", SearchOption.AllDirectories).FirstOrDefault();
var moduleFile = Directory.GetFiles(projectFolderPath, "*DomainTestModule.cs", SearchOption.AllDirectories).FirstOrDefault();
if (csprojFile == null || moduleFile == null)

Loading…
Cancel
Save