From 4a176b759c47fa1970fcfd0d9e25c294bda82ef4 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 22 Dec 2019 13:51:35 +1100 Subject: Update the MbaHost test project to use an external exe to load the BA, which allows loading a different .NET than the one running the tests. This also allows writing the tests in C# instead of C++/CLI. --- .../TestManagedBootstrapperApplicationFactory.h | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h (limited to 'src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h') diff --git a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h b/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h deleted file mode 100644 index 86f6e3cb..00000000 --- a/src/test/WixToolsetTest.MbaHost/TestManagedBootstrapperApplicationFactory.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once -// 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 WixToolsetTest -{ -namespace MbaHost -{ -namespace Native -{ - using namespace System; - using namespace WixToolset::Mba::Core; - - public ref class TestManagedBootstrapperApplicationFactory : public BaseBootstrapperApplicationFactory - { - protected: - virtual IBootstrapperApplication^ Create(IEngine^ engine, IBootstrapperCommand^ /*command*/) override - { - return gcnew TestManagedBootstrapperApplication(engine); - } - }; - - [assembly:BootstrapperApplicationFactory(TestManagedBootstrapperApplicationFactory::typeid)]; -} -} -} \ No newline at end of file -- cgit v1.2.3-55-g6feb