Exemplo n.º 1
0
        public static void WiXHeat(this ICakeContext context, string harvestTarget, FilePath outputFile, WiXHarvestType harvestType, HeatSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var runner = new HeatRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run(harvestTarget, outputFile, harvestType, settings ?? new HeatSettings());
        }
Exemplo n.º 2
0
        public static void WiXHeat(this ICakeContext context, IEnumerable <FilePath> objectFiles, FilePath outputFile, HeatSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            var runner = new HeatRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run(objectFiles, outputFile, settings ?? new HeatSettings());
        }