forked from dotnet/maui
/
Controls.Foldable.csproj
44 lines (42 loc) · 2.25 KB
/
Controls.Foldable.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_MauiDotNetTfm);$(MauiPlatforms)</TargetFrameworks>
<AssemblyName>Microsoft.Maui.Controls.Foldable</AssemblyName>
<RootNamespace>Microsoft.Maui.Controls.Foldable</RootNamespace>
<WarningsNotAsErrors>BI1234</WarningsNotAsErrors>
<IsTrimmable>false</IsTrimmable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<UseMaui Condition=" '$(UseWorkload)' == 'true' ">true</UseMaui>
<!-- Add specifics for this NuGet -->
<IsPackable>True</IsPackable>
<RepositoryType>git</RepositoryType>
<PackageTags>dotnet-maui;maui;foldable;android;surface-duo</PackageTags>
<Title>.NET MAUI Foldable</Title>
<Description>.NET MAUI Foldable provides additional APIs to better support foldable mobile devices.</Description>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
<Import Project="$(MauiNuSpecDirectory)Microsoft.Maui.Controls.MultiTargeting.targets" />
<ItemGroup Condition=" '$(UseMaui)' != 'true' ">
<ProjectReference Include="..\..\..\Graphics\src\Graphics\Graphics.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\..\Controls\src\Core\Controls.Core.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\..\Core\src\Core.csproj" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition=" '$(UseMaui)' != 'true' ">
<PackageReference Include="Microsoft.Extensions.Configuration" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
</ItemGroup>
<ItemGroup Condition=" '$(UseMaui)' != 'true' and '$(TargetPlatformIdentifier)' == 'android' ">
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" />
<PackageReference Include="Xamarin.Google.Android.Material" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetPlatformIdentifier)' == 'android' ">
<PackageReference Include="Xamarin.AndroidX.Window.WindowJava" />
</ItemGroup>
<!-- Add icon for NuGet -->
<ItemGroup>
<None Include="..\..\..\..\Assets\icon.png" PackagePath="icon.png" Pack="true" />
</ItemGroup>
</Project>