From c50a0e000ab1812ec4781ace349a5d84fa01c8e4 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 24 Jun 2020 14:23:51 +1000 Subject: Merge the native nupkg into the Core.Native nupkg. There was no benefit in separating the native assets into its own package, the runtime..PackageName strategy is for binaries to be copied to the root of project and therefore doesn't support the portable scenario where all available assets are required. Manually author the repository element in the nupkg for SourceLink. --- .../WixToolset.Core.Native.csproj | 30 ++++++++++++++-------- .../WixToolset.Core.Native.nuspec | 25 ++++++++---------- .../WixToolsetTest.Core.Native.csproj | 5 ++-- .../runtime.win.WixToolset.Core.Native.nuspec | 24 ----------------- src/wixnative/wixnative.vcxproj | 13 ---------- 5 files changed, 33 insertions(+), 64 deletions(-) delete mode 100644 src/wixnative/runtime.win.WixToolset.Core.Native.nuspec (limited to 'src') diff --git a/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj b/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj index ca8797a9..d12d0da6 100644 --- a/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj +++ b/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj @@ -5,9 +5,19 @@ $(MSBuildThisFileName).nuspec Core Native embedded - + + + All + Platform=Win32 + + + All + Platform=x64 + + + @@ -20,16 +30,16 @@ $(MSBuildProjectDir)..\..\build\obj\$(ProjectName)\$(Configuration)\NativeFileList.txt $(NCrunchOriginalProjectDir)..\..\build\obj\$(ProjectName)\$(Configuration)\NativeFileList.txt + $(MSBuildThisFileDirectory)..\wixnative\ - - - - - - - + + <_NativeProjectOutput Include="$(MergeModDirectory)x64\mergemod.dll" /> + <_NativeProjectOutput Include="$(OutputPath)..\x64\wixnative.exe" /> + <_NativeProjectOutput Include="$(OutputPath)..\x64\wixnative.pdb" /> + + @@ -60,8 +70,8 @@ - $(OutputPath) - Configuration=$(Configuration);Id=$(MSBuildThisFileName);Version=$(BuildVersionSimple);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description) + $(OutputPath)..\ + Id=$(MSBuildThisFileName);Version=$(BuildVersionSimple);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);MergeModDir=$(MergeModDirectory) diff --git a/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec b/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec index 1ff5538b..e862b1ba 100644 --- a/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec +++ b/src/WixToolset.Core.Native/WixToolset.Core.Native.nuspec @@ -5,30 +5,25 @@ $version$ $authors$ $authors$ - - https://licenses.nuget.org/MS-RL + MS-RL https://github.com/wixtoolset/Core.Native false $description$ $copyright$ - + - - + - + - + + + + + + diff --git a/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj b/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj index 14928112..9c493d84 100644 --- a/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj +++ b/src/test/WixToolsetTest.Core.Native/WixToolsetTest.Core.Native.csproj @@ -3,8 +3,9 @@ - netcoreapp2.1 + netcoreapp3.1 false + win-x64 @@ -21,7 +22,7 @@ - + diff --git a/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec b/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec deleted file mode 100644 index a775b570..00000000 --- a/src/wixnative/runtime.win.WixToolset.Core.Native.nuspec +++ /dev/null @@ -1,24 +0,0 @@ - - - - $id$ - $version$ - $authors$ - $authors$ - - https://licenses.nuget.org/MS-RL - https://github.com/wixtoolset/Core.Native - false - $description$ - $copyright$ - - - - - - - - - - - diff --git a/src/wixnative/wixnative.vcxproj b/src/wixnative/wixnative.vcxproj index 5927c14c..e53af651 100644 --- a/src/wixnative/wixnative.vcxproj +++ b/src/wixnative/wixnative.vcxproj @@ -30,7 +30,6 @@ wixnative v141 Unicode - Native component of WixToolset.Core @@ -69,18 +68,6 @@ - - - true - %(Filename)%(Extension) - PreserveNewest - - - - - - - -- cgit v1.2.3-55-g6feb