You can use
Have a look at InjectXML sample.
Note that the placement of the include is controlled by the nature of the
Will produce the following wxs code:
WixSharp.Entity
extension method AddXmlInclude:project.AddXmlInclude("CommonProperies.wxi") .AddXmlInclude("CommonProperies2.wxi");
Note that the placement of the include is controlled by the nature of the
Entity
the include is attached to. Thus new File("Source="Files\Docs\Manual.txt").AddXmlInclude("FileCommonProperies.wxi")
<FileId="Manual.txt"Source="Files\Docs\Manual.txt"><?include CommonProperies.wxi?> </File>