diff options
author | Rob Mensching <rob@firegiant.com> | 2020-05-21 23:08:52 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-05-22 15:21:29 -0700 |
commit | e28fcc906046ed12a867b621fc0eabf75fd9db09 (patch) | |
tree | 4d879b9e222fcdeadf6091b4b185655ac71b8845 /src/test | |
parent | a4cc6c64cb94279daeef2ab14e6319105806c053 (diff) | |
download | wix-e28fcc906046ed12a867b621fc0eabf75fd9db09.tar.gz wix-e28fcc906046ed12a867b621fc0eabf75fd9db09.tar.bz2 wix-e28fcc906046ed12a867b621fc0eabf75fd9db09.zip |
Add support using mergmod.dll and its interfaces
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/WixToolsetTest.Core.Native/MsmFixture.cs | 18 | ||||
-rw-r--r-- | src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/test/WixToolsetTest.Core.Native/MsmFixture.cs b/src/test/WixToolsetTest.Core.Native/MsmFixture.cs new file mode 100644 index 00000000..a1e42d94 --- /dev/null +++ b/src/test/WixToolsetTest.Core.Native/MsmFixture.cs | |||
@@ -0,0 +1,18 @@ | |||
1 | // 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. | ||
2 | |||
3 | namespace WixToolsetTest.CoreNative | ||
4 | { | ||
5 | using WixToolset.Core.Native; | ||
6 | using Xunit; | ||
7 | |||
8 | public class MsmFixture | ||
9 | { | ||
10 | [Fact] | ||
11 | public void CanCreateMsmInterface() | ||
12 | { | ||
13 | var msm = new MsmInterop(); | ||
14 | var merge = msm.GetMsmMerge(); | ||
15 | Assert.NotNull(merge); | ||
16 | } | ||
17 | } | ||
18 | } | ||
diff --git a/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj b/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj index 263712bb..14928112 100644 --- a/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj +++ b/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
5 | <PropertyGroup> | 5 | <PropertyGroup> |
6 | <TargetFramework>netcoreapp2.0</TargetFramework> | 6 | <TargetFramework>netcoreapp2.1</TargetFramework> |
7 | <IsPackable>false</IsPackable> | 7 | <IsPackable>false</IsPackable> |
8 | </PropertyGroup> | 8 | </PropertyGroup> |
9 | 9 | ||