From e2f8d4db118868ca76bf77bf510f0e9780ce174b Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 8 May 2026 14:06:16 -0400 Subject: [PATCH] fix build (deploy): Actually include native assets in nupkgs Native assets (libspark.dll/so) are copied to the outdir for local builds, and packed in nupkg files for sdk releases. The dest path in the package is different from the path in the outdir, so we configured Copy/Pack as separate msbuild items. However, both had the same Include="@(NativeWindows/LinuxAsset)", so Pack="false" in the Copy item was overriding Pack="true" in the Pack item. --- src/Directory.Build.targets | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index c62a81fe4..343575207 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -187,32 +187,14 @@ Name="Test" DependsOnTargets="Build"> - - - PreserveNewest - %(FileName)%(Extension) - false - - - PreserveNewest - runtimes/win-x64/native/%(FileName)%(Extension) - true - runtimes/win-x64/native - - + + + + - - - PreserveNewest - %(FileName)%(Extension) - false - - - PreserveNewest - runtimes/linux-x64/native/%(FileName)%(Extension) - true - runtimes/linux-x64/native - + + +