Skip to content

Commit

Permalink
chore: Formatting and adding UnoIcon count warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrandolph committed Sep 22, 2023
1 parent cd2282b commit 5d52110
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/.nuspec/Uno.Resizetizer.targets
Original file line number Diff line number Diff line change
Expand Up @@ -267,25 +267,29 @@
<Target Name="ValidateAvailableItems"
BeforeTargets="UnoResizetizeCollectItems">

<Warning Condition="'%(UnoIcon.Link)' != ''"
Text="The UnoIcon.Link property will be ignored."/>
<Warning
Condition="'%(UnoIcon.Link)' != ''"
Text="The UnoIcon.Link property will be ignored."/>

<Warning
Condition="'@(UnoSplashScreen->Count())' &gt; '1'"
Text="More than one 'UnoSplashScreen' is defined; only the first will be used."
/>
Condition="'@(UnoIcon->Count())' &gt; '1'"
Text="More than one 'UnoIcon' is defined; only the first will be used." />

<Warning
Condition="'@(UnoSplashScreen->Count())' &gt; '1'"
Text="More than one 'UnoSplashScreen' is defined; only the first will be used." />

<Warning
Condition="'%(UnoSplashScreen.Link)' != ''"
Text="The UnoSplashScreen.Link property will be ignored."/>

<Error
Condition="'@(UnoSplashScreen)' == '@(UnoIcon)'"
Text="The value of UnoSplashScreen and UnoIcon cannot be the same."/>

<Error
Condition="'@(UnoSplashScreen)' == '%(UnoIcon.ForegroundFile)'"
Text="The value of UnoSplashScreen and UnoIcon cannot be the same."/>

<Warning Condition="'%(UnoSplashScreen.Link)' != ''"
Text="The UnoSplashScreen.Link property will be ignored."/>

Text="The value of UnoSplashScreen and UnoIcon.ForegroundFile cannot be the same."/>
</Target>

<!-- Finds absolute paths to any UnoImage in this project -->
Expand Down

0 comments on commit 5d52110

Please sign in to comment.