Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit dddf9a4

Browse files
dotMortenPureWeen
authored andcommitted
Only require 14393+ for class libraries #10368
1 parent 65e22f0 commit dddf9a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.nuspec/Xamarin.Forms.targets

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@
203203
</PropertyGroup>
204204
<Warning
205205
Text="Xamarin.Forms recommends TargetPlatformVersion &gt;= 10.0.17763.0 (current project is $(MicrosoftUIXamlTargetPlatformCheckValue))"
206-
Condition="$(MicrosoftUIXamlTargetPlatformCheckValue) &lt; 17763" />
206+
Condition="$(MicrosoftUIXamlTargetPlatformCheckValue) &lt; 17763 AND '$(OutputType)'!='Library'" />
207+
<Warning
208+
Text="Xamarin.Forms recommends TargetPlatformVersion &gt;= 10.0.14393.0 (current project is $(MicrosoftUIXamlTargetPlatformCheckValue))"
209+
Condition="$(MicrosoftUIXamlTargetPlatformCheckValue) &lt; 14393 AND '$(OutputType)'=='Library'" />
207210
</Target>
208211
</Project>

0 commit comments

Comments
 (0)