From aa1ad5b404a5453cdb9566b5b596567f1886b91b Mon Sep 17 00:00:00 2001 From: Pedro Jesus Date: Wed, 15 Mar 2023 14:40:15 -0300 Subject: [PATCH] fix: prevent targets to run on DesignTimeBuild --- src/.nuspec/Uno.Resizetizer.targets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/.nuspec/Uno.Resizetizer.targets b/src/.nuspec/Uno.Resizetizer.targets index f4ed94205c75..48967fba8c83 100644 --- a/src/.nuspec/Uno.Resizetizer.targets +++ b/src/.nuspec/Uno.Resizetizer.targets @@ -379,7 +379,7 @@ @@ -501,6 +501,7 @@ Inputs="$(MSBuildThisFileFullPath);$(_ResizetizerTaskAssemblyName);$(_ResizetizerInputsFile);@(UnoImage)" Outputs="$(_ResizetizerStampFile)" AfterTargets="$(ResizetizeAfterTargets)" + Condition="'$(DesignTimeBuild)' != 'true'" BeforeTargets="$(ResizetizeBeforeTargets)" DependsOnTargets="$(ResizetizeDependsOnTargets)">