From a627ca9b720047e633a8fe72003ab9bee31006c5 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 26 Jul 2022 17:20:39 -0700 Subject: Create WixToolset.Heat.nupkg to distribute heat.exe and Heat targets Moves Heat functionality to the "tools" layer and packages it all up in WixToolset.Heat.nupkg for distribution in WiX v4. Completes 6838 --- src/tools/heat/HeatCommandLineFactory.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/tools/heat/HeatCommandLineFactory.cs (limited to 'src/tools/heat/HeatCommandLineFactory.cs') diff --git a/src/tools/heat/HeatCommandLineFactory.cs b/src/tools/heat/HeatCommandLineFactory.cs new file mode 100644 index 00000000..44291e48 --- /dev/null +++ b/src/tools/heat/HeatCommandLineFactory.cs @@ -0,0 +1,27 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +namespace WixToolset.Harvesters +{ + using System; + using System.Collections.Generic; + using WixToolset.Extensibility.Services; + using WixToolset.Harvesters.Data; + using WixToolset.Harvesters.Extensibility; + + /// + /// Extension methods to use Harvesters services. + /// + public class HeatCommandLineFactory + { + /// + /// Creates service. + /// + /// + /// + /// + public static IHeatCommandLine CreateCommandLine(IServiceProvider serviceProvider, IEnumerable heatExtensions = null) + { + return new HeatCommandLine(serviceProvider, heatExtensions); + } + } +} -- cgit v1.2.3-55-g6feb