Skip to content

Commit

Permalink
[.NET 5] Start adding some project capabilities (#3)
Browse files Browse the repository at this point in the history
Aligned with XA too, see dotnet/android#4383.

We'll start using Apple instead of iOS for these things at the IDE level since many
behaviors don't actually depend on iOS but also apply to tvOS, watchOS, and so on.

These capabilities go before other imports just in case additional packages/targets
from the SDK need to access them too.
  • Loading branch information
kzu authored and rolfbjarne committed Mar 26, 2020
1 parent ae86d01 commit c1381ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions msbuild/dotnet/targets/Xamarin.Shared.Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<!-- Default item includes (globs and implicit references) -->
<Import Project="Xamarin.Shared.Sdk.DefaultItems.targets" />

<!-- Automatically supply project capabilities for IDE use -->
<ItemGroup>
<ProjectCapability Include="Apple" />
<ProjectCapability Include="Mobile" />
</ItemGroup>
</Project>

0 comments on commit c1381ab

Please sign in to comment.