Browse Source

Update PackageReferencingStep.cs

pull/10363/head
Yunus Emre Kalkan 5 years ago
parent
commit
ffd91bef1d
  1. 5
      studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/PackageReferencingStep.cs

5
studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/PackageReferencingStep.cs

@ -45,6 +45,11 @@ namespace Volo.Abp.Studio.ModuleInstalling.Steps
$"*{referencePackage.Name}.csproj",
SearchOption.AllDirectories).FirstOrDefault();
if (referenceProjectPath == null)
{
return;
}
await _csprojFileManager.AddProjectReferenceAsync(
csprojFilePath,
referenceProjectPath);

Loading…
Cancel
Save