aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-06-18 18:03:33 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-06-18 22:08:12 +1000
commitb7ee8f1eaa4e67b3eeba426b4bc528b35042dbea (patch)
tree339b035debafe3b82fcdc7dbff144d6d5bbbf248
parent9010bd828e70e91523ed74733cc371eec09f58bb (diff)
downloadwix-b7ee8f1eaa4e67b3eeba426b4bc528b35042dbea.tar.gz
wix-b7ee8f1eaa4e67b3eeba426b4bc528b35042dbea.tar.bz2
wix-b7ee8f1eaa4e67b3eeba426b4bc528b35042dbea.zip
Create netstandard version of Mba.Core and separate nupkg for mbanative.
-rw-r--r--appveyor.cmd14
-rw-r--r--balutil.sln10
-rw-r--r--src/WixToolset.Mba.Core/Engine.cs10
-rw-r--r--src/WixToolset.Mba.Core/Properties/AssemblyInfo.cs17
-rw-r--r--src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj73
-rw-r--r--src/WixToolset.Mba.Core/WixToolset.Mba.Core.nuspec16
-rw-r--r--src/WixToolset.Mba.Core/build/net20/WixToolset.Mba.Core.props11
-rw-r--r--src/WixToolset.Mba.Core/packages.config4
-rw-r--r--src/mbanative/mbanative.vcxproj10
-rw-r--r--src/mbanative/runtime.win.WixToolset.Mba.Core.nuspec19
-rw-r--r--src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj2
11 files changed, 72 insertions, 114 deletions
diff --git a/appveyor.cmd b/appveyor.cmd
index ddad4dae..1e1f118c 100644
--- a/appveyor.cmd
+++ b/appveyor.cmd
@@ -1,15 +1,19 @@
1@setlocal 1@setlocal
2@pushd %~dp0 2@pushd %~dp0
3@set _C=Release
3 4
4nuget restore 5nuget restore
5 6
6msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140 7msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v140
7 8
8msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v141 9msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v141
9 10
10msbuild -p:Configuration=Release -t:Pack src\balutil\balutil.vcxproj 11@rem msbuild -t:VSTest -p:Configuration=%_C% src\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj
11msbuild -p:Configuration=Release -t:Pack src\bextutil\bextutil.vcxproj 12
12msbuild -p:Configuration=Release -t:Pack src\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj 13msbuild -t:Pack -p:Configuration=%_C% src\balutil\balutil.vcxproj
14msbuild -t:Pack -p:Configuration=%_C% src\bextutil\bextutil.vcxproj
15msbuild -t:Pack -p:Configuration=%_C% src\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj
16msbuild -t:Pack -p:Configuration=%_C% src\mbanative\mbanative.vcxproj
13 17
14@popd 18@popd
15@endlocal \ No newline at end of file 19@endlocal \ No newline at end of file
diff --git a/balutil.sln b/balutil.sln
index 73df2292..e923cf15 100644
--- a/balutil.sln
+++ b/balutil.sln
@@ -7,7 +7,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "balutil", "src\balutil\balu
7EndProject 7EndProject
8Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bextutil", "src\bextutil\bextutil.vcxproj", "{06027492-1CB9-48BC-B31E-C1F9356ED07E}" 8Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bextutil", "src\bextutil\bextutil.vcxproj", "{06027492-1CB9-48BC-B31E-C1F9356ED07E}"
9EndProject 9EndProject
10Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WixToolset.Mba.Core", "src\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj", "{E7E1841E-A58E-4901-B9CA-4845B807D45F}" 10Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Mba.Core", "src\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj", "{E7E1841E-A58E-4901-B9CA-4845B807D45F}"
11EndProject 11EndProject
12Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mbanative", "src\mbanative\mbanative.vcxproj", "{665E0441-17F9-4105-B202-EDF274657F6E}" 12Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mbanative", "src\mbanative\mbanative.vcxproj", "{665E0441-17F9-4105-B202-EDF274657F6E}"
13EndProject 13EndProject
@@ -52,10 +52,10 @@ Global
52 {665E0441-17F9-4105-B202-EDF274657F6E}.Release|x64.ActiveCfg = Release|Win32 52 {665E0441-17F9-4105-B202-EDF274657F6E}.Release|x64.ActiveCfg = Release|Win32
53 {665E0441-17F9-4105-B202-EDF274657F6E}.Release|x86.ActiveCfg = Release|Win32 53 {665E0441-17F9-4105-B202-EDF274657F6E}.Release|x86.ActiveCfg = Release|Win32
54 {665E0441-17F9-4105-B202-EDF274657F6E}.Release|x86.Build.0 = Release|Win32 54 {665E0441-17F9-4105-B202-EDF274657F6E}.Release|x86.Build.0 = Release|Win32
55 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x64.ActiveCfg = Debug|x64 55 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x64.ActiveCfg = Debug|Any CPU
56 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x64.Build.0 = Debug|x64 56 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x64.Build.0 = Debug|Any CPU
57 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x86.ActiveCfg = Debug|x86 57 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x86.ActiveCfg = Debug|Any CPU
58 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x86.Build.0 = Debug|x86 58 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Debug|x86.Build.0 = Debug|Any CPU
59 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Release|x64.ActiveCfg = Release|Any CPU 59 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Release|x64.ActiveCfg = Release|Any CPU
60 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Release|x64.Build.0 = Release|Any CPU 60 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Release|x64.Build.0 = Release|Any CPU
61 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Release|x86.ActiveCfg = Release|Any CPU 61 {F54997F7-10D7-409B-B9F2-DB546490EDC0}.Release|x86.ActiveCfg = Release|Any CPU
diff --git a/src/WixToolset.Mba.Core/Engine.cs b/src/WixToolset.Mba.Core/Engine.cs
index f2cc3947..408278ed 100644
--- a/src/WixToolset.Mba.Core/Engine.cs
+++ b/src/WixToolset.Mba.Core/Engine.cs
@@ -332,14 +332,14 @@ namespace WixToolset.Mba.Core
332 internal sealed class Variables<T> : IVariables<T> 332 internal sealed class Variables<T> : IVariables<T>
333 { 333 {
334 // .NET 2.0 does not support Func<T, TResult> or Action<T1, T2>. 334 // .NET 2.0 does not support Func<T, TResult> or Action<T1, T2>.
335 internal delegate T Getter<T>(string name); 335 internal delegate T Getter(string name);
336 internal delegate void Setter<T>(string name, T value); 336 internal delegate void Setter(string name, T value);
337 337
338 private Getter<T> getter; 338 private Getter getter;
339 private Setter<T> setter; 339 private Setter setter;
340 private Predicate<string> contains; 340 private Predicate<string> contains;
341 341
342 internal Variables(Getter<T> getter, Setter<T> setter, Predicate<string> contains) 342 internal Variables(Getter getter, Setter setter, Predicate<string> contains)
343 { 343 {
344 this.getter = getter; 344 this.getter = getter;
345 this.setter = setter; 345 this.setter = setter;
diff --git a/src/WixToolset.Mba.Core/Properties/AssemblyInfo.cs b/src/WixToolset.Mba.Core/Properties/AssemblyInfo.cs
deleted file mode 100644
index 386748a8..00000000
--- a/src/WixToolset.Mba.Core/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,17 +0,0 @@
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
3using System;
4using System.Reflection;
5using System.Runtime.InteropServices;
6
7[assembly: AssemblyTitle("Managed Bootstrapper Application Core (WiX)")]
8[assembly: AssemblyDescription("Managed Bootstrapper Application Core")]
9[assembly: AssemblyProduct("WiX Toolset")]
10[assembly: AssemblyCompany("WiX Toolset Team")]
11[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and contributors. All rights reserved.")]
12
13// Types should not be visible to COM by default.
14[assembly: ComVisible(false)]
15[assembly: Guid("6f4e0cc9-8ad4-4b5a-a669-3aafff67a76f")]
16
17[assembly: CLSCompliantAttribute(true)]
diff --git a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj
index e88498ac..b05ea8b9 100644
--- a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj
+++ b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj
@@ -1,76 +1,29 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<!-- 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<!-- 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. -->
3 3
4 4<Project Sdk="Microsoft.NET.Sdk">
5<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
6 <PropertyGroup> 5 <PropertyGroup>
7 <ProjectGuid>{E7E1841E-A58E-4901-B9CA-4845B807D45F}</ProjectGuid> 6 <TargetFrameworks>netstandard2.0;net20</TargetFrameworks>
8 <AssemblyName>WixToolset.Mba.Core</AssemblyName> 7 <AssemblyName>WixToolset.Mba.Core</AssemblyName>
9 <OutputType>Library</OutputType>
10 <RootNamespace>WixToolset.Mba.Core</RootNamespace> 8 <RootNamespace>WixToolset.Mba.Core</RootNamespace>
11 <NoWarn>0693;1591</NoWarn> 9 <DebugType>embedded</DebugType>
12 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
13 <Description>Managed Bootstrapper Application Core</Description> 10 <Description>Managed Bootstrapper Application Core</Description>
11 <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile>
14 </PropertyGroup> 12 </PropertyGroup>
15 <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> 13
16 <DebugSymbols>true</DebugSymbols> 14 <PropertyGroup Condition=" '$(UsingMicrosoftNETSdk)'!='true' and '$(CreateDocumentation)'!='false' ">
17 <Optimize>false</Optimize> 15 <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
18 <DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
19 </PropertyGroup>
20 <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
21 <DebugSymbols>true</DebugSymbols>
22 <Optimize>true</Optimize>
23 <DefineConstants>$(DefineConstants);TRACE</DefineConstants>
24 </PropertyGroup> 16 </PropertyGroup>
17
25 <ItemGroup> 18 <ItemGroup>
26 <Compile Include="BalUtil.cs" /> 19 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
27 <Compile Include="BaseBootstrapperApplicationFactory.cs" /> 20 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" />
28 <Compile Include="BootstrapperApplication.cs" />
29 <Compile Include="BootstrapperApplicationData.cs" />
30 <Compile Include="BootstrapperApplicationFactoryAttribute.cs" />
31 <Compile Include="BootstrapperCommand.cs" />
32 <Compile Include="BundleInfo.cs" />
33 <Compile Include="Engine.cs" />
34 <Compile Include="EventArgs.cs" />
35 <Compile Include="IBootstrapperApplication.cs" />
36 <Compile Include="IBootstrapperApplicationData.cs" />
37 <Compile Include="IBootstrapperApplicationFactory.cs" />
38 <Compile Include="IBootstrapperCommand.cs" />
39 <Compile Include="IBootstrapperEngine.cs" />
40 <Compile Include="IBundleInfo.cs" />
41 <Compile Include="IDefaultBootstrapperApplication.cs" />
42 <Compile Include="IEngine.cs" />
43 <Compile Include="IPackageInfo.cs" />
44 <Compile Include="IVariables.cs" />
45 <Compile Include="NativeMethods.cs" />
46 <Compile Include="PackageInfo.cs" />
47 <Compile Include="Properties\AssemblyInfo.cs" />
48 </ItemGroup>
49 <ItemGroup>
50 <None Include="packages.config" />
51 </ItemGroup>
52 <ItemGroup>
53 <Reference Include="System" />
54 <Reference Include="System.Configuration" />
55 <Reference Include="System.Data" />
56 <Reference Include="System.Xml" />
57 </ItemGroup> 21 </ItemGroup>
58 22
59 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 23 <Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion">
60
61 <Target Name="Pack" DependsOnTargets="GetBuildVersion">
62 <Exec Command='nuget pack $(AssemblyName).nuspec -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Configuration=$(Configuration);Id=$(AssemblyName);Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' />
63 </Target>
64
65 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
66 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
67 <PropertyGroup> 24 <PropertyGroup>
68 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> 25 <NuspecBasePath>$(OutputPath)</NuspecBasePath>
26 <NuspecProperties>Configuration=$(Configuration);Id=$(MSBuildThisFileName);Version=$(BuildVersionSimple);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description)</NuspecProperties>
69 </PropertyGroup> 27 </PropertyGroup>
70 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" />
71 </Target> 28 </Target>
72
73 <PropertyGroup Condition=" '$(CreateDocumentation)'!='false' ">
74 <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
75 </PropertyGroup>
76</Project> \ No newline at end of file 29</Project> \ No newline at end of file
diff --git a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.nuspec b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.nuspec
index c7f4a97d..4f3a2744 100644
--- a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.nuspec
+++ b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.nuspec
@@ -5,17 +5,23 @@
5 <version>$version$</version> 5 <version>$version$</version>
6 <authors>WiX Toolset Team</authors> 6 <authors>WiX Toolset Team</authors>
7 <owners>WiX Toolset Team</owners> 7 <owners>WiX Toolset Team</owners>
8 <!-- <license type="expression">MS-RL</license> --> 8 <license type="expression">MS-RL</license>
9 <licenseUrl>https://licenses.nuget.org/MS-RL</licenseUrl>
10 <projectUrl>https://github.com/wixtoolset/balutil</projectUrl> 9 <projectUrl>https://github.com/wixtoolset/balutil</projectUrl>
11 <requireLicenseAcceptance>false</requireLicenseAcceptance> 10 <requireLicenseAcceptance>false</requireLicenseAcceptance>
12 <description>$description$</description> 11 <description>$description$</description>
13 <copyright>$copyright$</copyright> 12 <copyright>$copyright$</copyright>
13
14 <dependencies>
15 <group>
16 <dependency id="runtime.win.WixToolset.Mba.Core" version="$version$" />
17 </group>
18 <group targetFramework=".NETFramework2.0" />
19 <group targetFramework=".NETStandard2.0" />
20 </dependencies>
14 </metadata> 21 </metadata>
15 22
16 <files> 23 <files>
17 <file src="build\net20\$id$.props" target="build\net20" /> 24 <file src="net20\$id$.dll" target="lib\net20" />
18 <file src="..\..\build\$configuration$\v141\x86\mbanative.dll" target="build\net20\x86" /> 25 <file src="netstandard2.0\$id$.dll" target="lib\netstandard2.0" />
19 <file src="..\..\build\$configuration$\$id$.dll" target="lib\net20" />
20 </files> 26 </files>
21</package> 27</package>
diff --git a/src/WixToolset.Mba.Core/build/net20/WixToolset.Mba.Core.props b/src/WixToolset.Mba.Core/build/net20/WixToolset.Mba.Core.props
deleted file mode 100644
index c0018e0d..00000000
--- a/src/WixToolset.Mba.Core/build/net20/WixToolset.Mba.Core.props
+++ /dev/null
@@ -1,11 +0,0 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- 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. -->
3
4<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5 <PropertyGroup>
6 <WixToolsetMbaNativePath Condition=" '$(WixToolsetMbaNativePath)' == '' ">$(MSBuildThisFileDirectory)x86\mbanative.dll</WixToolsetMbaNativePath>
7 </PropertyGroup>
8 <ItemGroup>
9 <Content Include="$(WixToolsetMbaNativePath)" CopyToOutputDirectory="Always" />
10 </ItemGroup>
11</Project>
diff --git a/src/WixToolset.Mba.Core/packages.config b/src/WixToolset.Mba.Core/packages.config
deleted file mode 100644
index 03e866cf..00000000
--- a/src/WixToolset.Mba.Core/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
1<?xml version="1.0" encoding="utf-8"?>
2<packages>
3 <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="net20" developmentDependency="true" />
4</packages> \ No newline at end of file
diff --git a/src/mbanative/mbanative.vcxproj b/src/mbanative/mbanative.vcxproj
index f86c7fef..0a740a9f 100644
--- a/src/mbanative/mbanative.vcxproj
+++ b/src/mbanative/mbanative.vcxproj
@@ -31,12 +31,17 @@
31 <CharacterSet>Unicode</CharacterSet> 31 <CharacterSet>Unicode</CharacterSet>
32 <TargetName>mbanative</TargetName> 32 <TargetName>mbanative</TargetName>
33 <ProjectModuleDefinitionFile>mbanative.def</ProjectModuleDefinitionFile> 33 <ProjectModuleDefinitionFile>mbanative.def</ProjectModuleDefinitionFile>
34 <Description>Native component of WixToolset.Mba.Core</Description>
34 </PropertyGroup> 35 </PropertyGroup>
35 36
36 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 37 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
37 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 38 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
38 <Import Project="..\NativeMultiTargeting.Build.props" /> 39 <Import Project="..\NativeMultiTargeting.Build.props" />
39 40
41 <ImportGroup Label="Shared">
42 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
43 </ImportGroup>
44
40 <PropertyGroup> 45 <PropertyGroup>
41 <ProjectAdditionalIncludeDirectories>..\balutil\inc</ProjectAdditionalIncludeDirectories> 46 <ProjectAdditionalIncludeDirectories>..\balutil\inc</ProjectAdditionalIncludeDirectories>
42 <ProjectAdditionalLinkLibraries>balutil.lib</ProjectAdditionalLinkLibraries> 47 <ProjectAdditionalLinkLibraries>balutil.lib</ProjectAdditionalLinkLibraries>
@@ -63,8 +68,11 @@
63 <ProjectReference Include="..\balutil\balutil.vcxproj" /> 68 <ProjectReference Include="..\balutil\balutil.vcxproj" />
64 </ItemGroup> 69 </ItemGroup>
65 70
71 <Target Name="Pack" DependsOnTargets="GetBuildVersion">
72 <Exec Command='nuget pack runtime.win.WixToolset.Mba.Core.nuspec -BasePath "$(BaseOutputPath)$(Configuration)" -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Configuration=$(Configuration);Id=runtime.win.WixToolset.Mba.Core;Version="$(BuildVersionSimple)";Platform=$(PlatformTarget);Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)"' />
73 </Target>
74
66 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 75 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
67 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
68 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 76 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
69 <PropertyGroup> 77 <PropertyGroup>
70 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> 78 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
diff --git a/src/mbanative/runtime.win.WixToolset.Mba.Core.nuspec b/src/mbanative/runtime.win.WixToolset.Mba.Core.nuspec
new file mode 100644
index 00000000..a8546092
--- /dev/null
+++ b/src/mbanative/runtime.win.WixToolset.Mba.Core.nuspec
@@ -0,0 +1,19 @@
1<?xml version="1.0"?>
2<package >
3 <metadata>
4 <id>$id$</id>
5 <version>$version$</version>
6 <authors>WiX Toolset Team</authors>
7 <owners>WiX Toolset Team</owners>
8 <license type="expression">MS-RL</license>
9 <projectUrl>https://github.com/wixtoolset/balutil</projectUrl>
10 <requireLicenseAcceptance>false</requireLicenseAcceptance>
11 <description>$description$</description>
12 <copyright>$copyright$</copyright>
13 </metadata>
14
15 <files>
16 <file src="v141\x86\mbanative.dll" target="runtimes\win-x86\native" />
17 <file src="v141\x86\mbanative.pdb" target="runtimes\win-x86\native" />
18 </files>
19</package>
diff --git a/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj b/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj
index 9959e261..8691f89f 100644
--- a/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj
+++ b/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj
@@ -5,7 +5,7 @@
5 <PropertyGroup> 5 <PropertyGroup>
6 <TargetFramework>netcoreapp3.1</TargetFramework> 6 <TargetFramework>netcoreapp3.1</TargetFramework>
7 <IsPackable>false</IsPackable> 7 <IsPackable>false</IsPackable>
8 <Platforms>AnyCPU;x86;x64</Platforms> 8 <RuntimeIdentifier>win-x86</RuntimeIdentifier>
9 </PropertyGroup> 9 </PropertyGroup>
10 10
11 <PropertyGroup> 11 <PropertyGroup>