Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: How to add preprocessor tags?

$
0
0
You can use WixSharp.Entity extension method AddXmlInclude:
project.AddXmlInclude("CommonProperies.wxi")
       .AddXmlInclude("CommonProperies2.wxi");
Have a look at InjectXML sample.
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")
Will produce the following wxs code:
<FileId="Manual.txt"Source="Files\Docs\Manual.txt"><?include CommonProperies.wxi?>
</File>

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>