Skip to content

Commit

Permalink
Merge pull request #1026 from sonicbhoc/master
Browse files Browse the repository at this point in the history
Add generated children of TypeLib to element
  • Loading branch information
oleg-shilo authored Aug 13, 2021
2 parents 984225d + 5ca4440 commit 12a5210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/src/WixSharp/ComRegistration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -601,9 +601,9 @@ public void Process(ProcessingContext context)
{
XElement element = this.ToXElement("TypeLib");

AppIds?.ForEach(appId => appId.ToXElement());
COMClasses?.ForEach(comClass => comClass.ToXElement());
Interfaces?.ForEach(iface => iface.ToXElement());
AppIds?.ForEach(appId => element.Add(appId.ToXElement()));
COMClasses?.ForEach(comClass => element.Add(comClass.ToXElement()));
Interfaces?.ForEach(iface => element.Add(iface.ToXElement()));

context.XParent.Add(element);
}
Expand Down

0 comments on commit 12a5210

Please sign in to comment.