From 8cf0427984a88b0b3ddfb2061e5be721afffe82e Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 22 Apr 2021 17:19:56 -0700 Subject: Move Core into wix --- src/test/CompileCoreTestExtensionWixlib/Program.cs | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/test/CompileCoreTestExtensionWixlib/Program.cs (limited to 'src/test/CompileCoreTestExtensionWixlib/Program.cs') diff --git a/src/test/CompileCoreTestExtensionWixlib/Program.cs b/src/test/CompileCoreTestExtensionWixlib/Program.cs deleted file mode 100644 index 323b5e5e..00000000 --- a/src/test/CompileCoreTestExtensionWixlib/Program.cs +++ /dev/null @@ -1,37 +0,0 @@ -// 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. - -using System.Collections.Generic; -using WixToolset.Core.TestPackage; - -namespace CompileCoreTestExtensionWixlib -{ - // We want to be able to test Core with extensions, but there's no easy way to build an extension without Tools. - // So we have this helper exe. - public class Program - { - public static void Main(string[] args) - { - var intermediateFolder = args[0]; - var wixlibPath = args[1]; - - var buildArgs = new List(); - buildArgs.Add("build"); - buildArgs.Add("-bindfiles"); - buildArgs.Add("-bindpath"); - buildArgs.Add("Data"); - buildArgs.Add("-intermediateFolder"); - buildArgs.Add(intermediateFolder); - buildArgs.Add("-o"); - buildArgs.Add(wixlibPath); - - foreach (var path in args[2].Split(';')) - { - buildArgs.Add(path); - } - - var result = WixRunner.Execute(buildArgs.ToArray()); - - result.AssertSuccess(); - } - } -} -- cgit v1.2.3-55-g6feb