From ea9cc0d27db01d504b7e0d0280939fb847e52056 Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Sun, 24 Mar 2024 08:07:40 -0600 Subject: [PATCH] chore: fixing output directory for Runtime Assets --- src/Resizetizer/src/Resizetizer.csproj | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/Resizetizer/src/Resizetizer.csproj b/src/Resizetizer/src/Resizetizer.csproj index 2e42b912..24100fa8 100644 --- a/src/Resizetizer/src/Resizetizer.csproj +++ b/src/Resizetizer/src/Resizetizer.csproj @@ -74,11 +74,20 @@ + + + <_RuntimeAssets Include="@(RuntimeTargetsCopyLocalItems)" + OutputDirectory="$([System.Text.RegularExpressions.Regex]::Replace(%(RuntimeTargetsCopyLocalItems.RuntimeIdentifier), '^(linux|win)-', ''))" + Condition="%(RuntimeTargetsCopyLocalItems.RuntimeIdentifier) != 'win' AND %(RuntimeTargetsCopyLocalItems.RuntimeIdentifier) != 'unix'" /> + + + - + @@ -86,8 +95,6 @@ AfterTargets="Build"> <_OutputFile Include="$(OutDir)\**\*.*" Exclude="$(OutDir)\**\*.targets"/> - <_RuntimeLibrary Include="@(RuntimeTargetsCopyLocalItems)" - OutputDirectory="$([MSBuild]::NormalizeDirectory('$(UnoNuspecDirectory)', '$(TargetFramework)\%(RuntimeTargetsCopyLocalItems.RuntimeIdentifier)'))" /> -