From ba7bab476501c16e437b0aee71c1be02c3dda176 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 3 May 2021 15:55:48 -0700 Subject: Move Bal.wixext into ext --- .../Example.FullFramework4MBA.csproj | 19 ------------ .../examples/FullFramework4MBA/FullFramework4BA.cs | 34 ---------------------- .../FullFramework4MBA/FullFramework4BAFactory.cs | 22 -------------- .../FullFramework4MBA/WixToolset.Mba.Host.config | 17 ----------- 4 files changed, 92 deletions(-) delete mode 100644 src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj delete mode 100644 src/test/examples/FullFramework4MBA/FullFramework4BA.cs delete mode 100644 src/test/examples/FullFramework4MBA/FullFramework4BAFactory.cs delete mode 100644 src/test/examples/FullFramework4MBA/WixToolset.Mba.Host.config (limited to 'src/test/examples/FullFramework4MBA') diff --git a/src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj b/src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj deleted file mode 100644 index a05e7888..00000000 --- a/src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - net48 - Full Framework v4 MBA - win-x86 - - - - - - - - - - - \ No newline at end of file diff --git a/src/test/examples/FullFramework4MBA/FullFramework4BA.cs b/src/test/examples/FullFramework4MBA/FullFramework4BA.cs deleted file mode 100644 index 8ee3bd19..00000000 --- a/src/test/examples/FullFramework4MBA/FullFramework4BA.cs +++ /dev/null @@ -1,34 +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. - -namespace Example.FullFramework4MBA -{ - using WixToolset.Mba.Core; - - public class FullFramework4BA : BootstrapperApplication - { - public FullFramework4BA(IEngine engine) - : base(engine) - { - - } - - protected override void Run() - { - } - - protected override void OnStartup(StartupEventArgs args) - { - base.OnStartup(args); - - this.engine.Log(LogLevel.Standard, nameof(FullFramework4BA)); - } - - protected override void OnShutdown(ShutdownEventArgs args) - { - base.OnShutdown(args); - - var message = "Shutdown," + args.Action.ToString() + "," + args.HResult.ToString(); - this.engine.Log(LogLevel.Standard, message); - } - } -} diff --git a/src/test/examples/FullFramework4MBA/FullFramework4BAFactory.cs b/src/test/examples/FullFramework4MBA/FullFramework4BAFactory.cs deleted file mode 100644 index 6a571a54..00000000 --- a/src/test/examples/FullFramework4MBA/FullFramework4BAFactory.cs +++ /dev/null @@ -1,22 +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. - -[assembly: WixToolset.Mba.Core.BootstrapperApplicationFactory(typeof(Example.FullFramework4MBA.FullFramework4BAFactory))] -namespace Example.FullFramework4MBA -{ - using WixToolset.Mba.Core; - - public class FullFramework4BAFactory : BaseBootstrapperApplicationFactory - { - private static int loadCount = 0; - - protected override IBootstrapperApplication Create(IEngine engine, IBootstrapperCommand bootstrapperCommand) - { - if (loadCount > 0) - { - engine.Log(LogLevel.Standard, $"Reloaded {loadCount} time(s)"); - } - ++loadCount; - return new FullFramework4BA(engine); - } - } -} diff --git a/src/test/examples/FullFramework4MBA/WixToolset.Mba.Host.config b/src/test/examples/FullFramework4MBA/WixToolset.Mba.Host.config deleted file mode 100644 index 96678cda..00000000 --- a/src/test/examples/FullFramework4MBA/WixToolset.Mba.Host.config +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - -
- - - - - - - - - -- cgit v1.2.3-55-g6feb