Browse Source

Fix SolutionModuleAdder.RemoveProjectByPostFix

pull/6839/head
Yunus Emre Kalkan 6 years ago
parent
commit
03d6874341
  1. 6
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/SolutionModuleAdder.cs

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

@ -206,6 +206,12 @@ namespace Volo.Abp.Cli.ProjectModification
{
var srcPath = Path.Combine(Path.GetDirectoryName(moduleSolutionFile), targetFolder);
var projectFolderPath = Directory.GetDirectories(srcPath).FirstOrDefault(d=> d.EndsWith(postFix));
if(projectFolderPath == null)
{
return;
}
await SolutionFileModifier.RemoveProjectFromSolutionFileAsync(moduleSolutionFile, new DirectoryInfo(projectFolderPath).Name);
if (Directory.Exists(projectFolderPath))

Loading…
Cancel
Save