static void Issue_551() { var bundle = new Bundle("MyBundle", new PackageGroupRef("NetFx471Web")) { OutFileName = "MyBundle", Version = new Version("1.0") }; bundle.Include(WixExtension.Util); bundle.WxsFiles.Add(@"E:\PrivateData\Galos\Projects\Support\MultiWxsBundle\MultiWxsBundle\NetFx471.wxs"); // uncomment this line for the build to succeed - this should happen automatically // bundle.LightOptions = "NetFx471.wixobj"; bundle.OutDir = @"E:\PrivateData\Galos\Projects\Support\MultiWxsBundle\MultiWxsBundle"; bundle.BuildCmd(); }