diff --git a/studio/src/Volo.Abp.Studio.ModuleInstaller.Abstractions/Volo/Abp/Studio/ModuleInstalling/ModuleInstallingContext.cs b/studio/src/Volo.Abp.Studio.ModuleInstaller.Abstractions/Volo/Abp/Studio/ModuleInstalling/ModuleInstallingContext.cs index ab5c142a50..350359c551 100644 --- a/studio/src/Volo.Abp.Studio.ModuleInstaller.Abstractions/Volo/Abp/Studio/ModuleInstalling/ModuleInstallingContext.cs +++ b/studio/src/Volo.Abp.Studio.ModuleInstaller.Abstractions/Volo/Abp/Studio/ModuleInstalling/ModuleInstallingContext.cs @@ -78,7 +78,12 @@ namespace Volo.Abp.Studio.ModuleInstalling public string GetTargetSourceCodeFolder() { - return Path.Combine(Path.GetDirectoryName(TargetModule), "modules", ModuleName); + return CalculateTargetSourceCodeFolder(TargetModule, ModuleName); + } + + public static string CalculateTargetSourceCodeFolder(string targetModule, string moduleName) + { + return Path.Combine(Path.GetDirectoryName(targetModule), "modules", moduleName); } } }