Include the iOS, Android, and macCatalyst supported platforms (#50143)
authorJeff Handley <jeffhandley@users.noreply.github.com>
Wed, 24 Mar 2021 22:16:38 +0000 (15:16 -0700)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 22:16:38 +0000 (15:16 -0700)
eng/versioning.targets

index 12cad8b..a55fe24 100644 (file)
   <PropertyGroup Condition="'$(TargetsAnyOS)' == 'true' and !$(TargetFrameworks.Contains('$(TargetFramework)-Browser'))">
       <CrossPlatformAndHasNoBrowserTarget>true</CrossPlatformAndHasNoBrowserTarget>
   </PropertyGroup>
-  
+
+  <!-- Enables warnings for Android, iOS, and macCatalyst for all builds -->
+  <ItemGroup>
+    <SupportedPlatform Include="Android" />
+    <SupportedPlatform Include="iOS" />
+    <SupportedPlatform Include="macCatalyst" />
+  </ItemGroup>
+
   <!-- Enables browser warnings for cross platform or Browser targeted builds -->
   <ItemGroup Condition="('$(TargetsBrowser)' == 'true' or '$(CrossPlatformAndHasNoBrowserTarget)' == 'true') and '$(IsTestProject)' != 'true'">
     <SupportedPlatform Include="browser"/>
@@ -45,7 +52,7 @@
   <ItemGroup Condition="'$(TargetstvOS)' == 'true' and '$(IsTestProject)' != 'true'">
     <SupportedPlatform Include="tvos"/>
   </ItemGroup>
-  
+
   <ItemGroup>
     <_unsupportedOSPlatforms Include="$(UnsupportedOSPlatforms)" />
   </ItemGroup>