Skip to content

Commit

Permalink
Include the iOS, Android, and macCatalyst supported platforms (#50143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhandley authored Mar 24, 2021
1 parent 18ddd57 commit 8e187d1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions eng/versioning.targets
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
<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"/>
Expand All @@ -45,7 +52,7 @@
<ItemGroup Condition="'$(TargetstvOS)' == 'true' and '$(IsTestProject)' != 'true'">
<SupportedPlatform Include="tvos"/>
</ItemGroup>

<ItemGroup>
<_unsupportedOSPlatforms Include="$(UnsupportedOSPlatforms)" />
</ItemGroup>
Expand Down

0 comments on commit 8e187d1

Please sign in to comment.