diff --git a/binding/NativeAssets.Build.targets b/binding/NativeAssets.Build.targets
index cd68c556fa..d34c35f239 100644
--- a/binding/NativeAssets.Build.targets
+++ b/binding/NativeAssets.Build.targets
@@ -33,16 +33,20 @@
-
+ <_NativeWindowsPackageFileToUse Include="@(NativeWindowsPackageFile->HasMetadata('Folder'))" />
+ <_NativeWindowsPackageFileWithNoFolder Include="@(NativeWindowsPackageFile)" />
+ <_NativeWindowsPackageFileWithNoFolder Remove="@(_NativeWindowsPackageFileToUse)" />
+ <_NativeWindowsPackageFileToUse Include="@(_NativeWindowsPackageFileWithNoFolder)" Folder="native" />
+
<_CompletedNativeWindowsPackageFile
- Include="@(NativeWindowsPackageFile)"
+ Include="@(_NativeWindowsPackageFileToUse)"
TargetFramework="%(RuntimeIdentifier)"
- TargetPath="native\%(Filename)%(Extension)"
- PackagePath="runtimes\%(RuntimeIdentifier)\native\%(Filename)%(Extension)" />
+ TargetPath="%(Folder)\%(Filename)%(Extension)"
+ PackagePath="runtimes\%(RuntimeIdentifier)\%(Folder)\%(Filename)%(Extension)" />
<_BuildOutputInPackage Remove="@(_BuildOutputInPackage)" />
<_BuildOutputInPackage Include="@(_CompletedNativeWindowsPackageFile)" Condition="'%(Extension)' != '.pdb'" />
<_TargetPathsToSymbols Remove="@(_TargetPathsToSymbols)" />
diff --git a/binding/SkiaSharp.NativeAssets.WinUI/SkiaSharp.NativeAssets.WinUI.csproj b/binding/SkiaSharp.NativeAssets.WinUI/SkiaSharp.NativeAssets.WinUI.csproj
index 07bac2c33b..fab3a0d1e0 100644
--- a/binding/SkiaSharp.NativeAssets.WinUI/SkiaSharp.NativeAssets.WinUI.csproj
+++ b/binding/SkiaSharp.NativeAssets.WinUI/SkiaSharp.NativeAssets.WinUI.csproj
@@ -6,11 +6,11 @@
true
-
+
-
+
-
+
\ No newline at end of file