|
|
|
@ -1,6 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.IO; |
|
|
|
using System.Linq; |
|
|
|
using System.Text.RegularExpressions; |
|
|
|
using System.Xml; |
|
|
|
using Volo.Abp.Cli.ProjectBuilding.Files; |
|
|
|
@ -109,7 +110,7 @@ namespace Volo.Abp.Cli.ProjectBuilding.Building.Steps |
|
|
|
var oldNodeIncludeValue = oldNode.Attributes["Include"].Value; |
|
|
|
|
|
|
|
// ReSharper disable once PossibleNullReferenceException : Can not be null because nodes are selected with include attribute filter in previous method
|
|
|
|
if (oldNodeIncludeValue.Contains(_projectName)) |
|
|
|
if (oldNodeIncludeValue.Contains(_projectName) && _entries.Any(e=>e.Name.EndsWith($"{oldNodeIncludeValue}.csproj"))) |
|
|
|
{ |
|
|
|
continue; |
|
|
|
} |
|
|
|
|