1<Project Sdk="Microsoft.NET.Sdk"> 2 <PropertyGroup> 3 <Authors>The gRPC Authors</Authors> 4 <Copyright>Copyright 2015 The gRPC Authors</Copyright> 5 <Description>C# implementation of gRPC based on native gRPC C-core library.</Description> 6 <PackageIconUrl>https://github.com/grpc/grpc.github.io/raw/master/img/grpc_square_reverse_4x.png</PackageIconUrl> 7 <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> 8 <PackageProjectUrl>https://github.com/grpc/grpc</PackageProjectUrl> 9 <PackageTags>gRPC RPC HTTP/2</PackageTags> 10 <VersionPrefix>$(GrpcCsharpVersion)</VersionPrefix> 11 </PropertyGroup> 12 13 <PropertyGroup> 14 <TargetFrameworks>net45;netstandard1.5;netstandard2.0</TargetFrameworks> 15 <GenerateDocumentationFile>true</GenerateDocumentationFile> 16 <TreatWarningsAsErrors>true</TreatWarningsAsErrors> 17 </PropertyGroup> 18 19 <PropertyGroup> 20 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 21 </PropertyGroup> 22 23 <ItemGroup> 24 <Compile Include="..\Grpc.Core.Api\Version.cs" /> 25 </ItemGroup> 26 27 <Import Project="SourceLink.csproj.include" /> 28 29 <ItemGroup> 30 <EmbeddedResource Include="..\..\..\etc\roots.pem" /> 31 <Content Include="..\nativelibs\csharp_ext_macos_x64\libgrpc_csharp_ext.dylib"> 32 <PackagePath>runtimes/osx-x64/native/libgrpc_csharp_ext.x64.dylib</PackagePath> 33 <Pack>true</Pack> 34 </Content> 35 <Content Include="..\nativelibs\csharp_ext_linux_x64\libgrpc_csharp_ext.so"> 36 <PackagePath>runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so</PackagePath> 37 <Pack>true</Pack> 38 </Content> 39 <Content Include="..\nativelibs\csharp_ext_windows_x64\grpc_csharp_ext.dll"> 40 <PackagePath>runtimes/win-x64/native/grpc_csharp_ext.x64.dll</PackagePath> 41 <Pack>true</Pack> 42 </Content> 43 <Content Include="..\nativelibs\csharp_ext_windows_x86\grpc_csharp_ext.dll"> 44 <PackagePath>runtimes/win-x86/native/grpc_csharp_ext.x86.dll</PackagePath> 45 <Pack>true</Pack> 46 </Content> 47 <Content Include="build\net45\Grpc.Core.targets"> 48 <PackagePath>build/net45/</PackagePath> 49 <Pack>true</Pack> 50 </Content> 51 </ItemGroup> 52 53 <ItemGroup> 54 <ProjectReference Include="../Grpc.Core.Api/Grpc.Core.Api.csproj" /> 55 </ItemGroup> 56 57 <ItemGroup> 58 <PackageReference Include="System.Memory" Version="4.5.3" /> 59 </ItemGroup> 60 61 <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> 62 <Reference Include="System" /> 63 <Reference Include="Microsoft.CSharp" /> 64 </ItemGroup> 65 66 <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' "> 67 <PackageReference Include="System.Runtime.Loader" Version="4.0.0" /> 68 <PackageReference Include="System.Threading.Thread" Version="4.0.0" /> 69 <PackageReference Include="System.Threading.ThreadPool" Version="4.0.10" /> 70 </ItemGroup> 71 72 <Import Project="NativeDeps.csproj.include" /> 73 74</Project> 75