• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<Project Sdk="Microsoft.NET.Sdk">
2  <PropertyGroup>
3    <Authors>The gRPC Authors</Authors>
4    <Copyright>Copyright 2015 The gRPC Authors</Copyright>
5    <Description>Xamarin support for gRPC C#. Note that the gRPC C# support for the Xamarin platform is considered experimental.
6    This package contains the native grpc_csharp_ext libraries that are needed to run gRPC C# on mobile platforms (Android, iOS).
7    WARNING: Versions of Grpc.Core.Xamarin and Grpc.Core dependencies being used in your project must always match exactly, otherwise
8    things will be badly broken.</Description>
9    <PackageIconUrl>https://github.com/grpc/grpc.github.io/raw/master/img/grpc_square_reverse_4x.png</PackageIconUrl>
10    <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
11    <PackageProjectUrl>https://github.com/grpc/grpc</PackageProjectUrl>
12    <PackageTags>gRPC RPC HTTP/2</PackageTags>
13    <VersionPrefix>$(GrpcCsharpVersion)</VersionPrefix>
14  </PropertyGroup>
15
16  <PropertyGroup>
17    <TargetFrameworks>net45;netstandard1.5;netstandard2.0</TargetFrameworks>
18    <GenerateDocumentationFile>true</GenerateDocumentationFile>
19    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
20  </PropertyGroup>
21
22  <Import Project="..\Grpc.Core\SourceLink.csproj.include" />
23
24  <ItemGroup>
25    <Content Include="..\nativelibs\csharp_ext_linux_android_armeabi-v7a\libgrpc_csharp_ext.so">
26      <PackagePath>native/android/armeabi-v7a/libgrpc_csharp_ext.so</PackagePath>
27      <Pack>true</Pack>
28    </Content>
29    <Content Include="..\nativelibs\csharp_ext_linux_android_arm64-v8a\libgrpc_csharp_ext.so">
30      <PackagePath>native/android/arm64-v8a/libgrpc_csharp_ext.so</PackagePath>
31      <Pack>true</Pack>
32    </Content>
33    <Content Include="..\nativelibs\csharp_ext_linux_android_x86\libgrpc_csharp_ext.so">
34      <PackagePath>native/android/x86/libgrpc_csharp_ext.so</PackagePath>
35      <Pack>true</Pack>
36    </Content>
37    <Content Include="..\nativelibs\csharp_ext_macos_ios\libgrpc_csharp_ext.a">
38      <PackagePath>native/ios/universal/libgrpc_csharp_ext.a</PackagePath>
39      <Pack>true</Pack>
40    </Content>
41    <Content Include="..\nativelibs\csharp_ext_macos_ios\libgrpc.a">
42      <PackagePath>native/ios/universal/libgrpc.a</PackagePath>
43      <Pack>true</Pack>
44    </Content>
45    <Content Include="build\MonoAndroid10\Grpc.Core.Xamarin.targets">
46      <PackagePath>build/MonoAndroid10/</PackagePath>
47      <Pack>true</Pack>
48    </Content>
49    <Content Include="build\Xamarin.iOS10\Grpc.Core.Xamarin.targets">
50      <PackagePath>build/Xamarin.iOS10/</PackagePath>
51      <Pack>true</Pack>
52    </Content>
53  </ItemGroup>
54
55  <ItemGroup>
56    <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" />
57  </ItemGroup>
58</Project>
59