| <Project Sdk="Microsoft.NET.Sdk"> | |
| <Import Project="..\Grpc.Core\Common.csproj.include" /> | |
| <PropertyGroup> | |
| <TargetFrameworks>net45;netcoreapp2.1</TargetFrameworks> | |
| <OutputType>Exe</OutputType> | |
| <TreatWarningsAsErrors>true</TreatWarningsAsErrors> | |
| </PropertyGroup> | |
| <PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' "> | |
| <DefineConstants>$(DefineConstants);GRPC_CSHARP_SUPPORT_SYSTEM_MEMORY</DefineConstants> | |
| </PropertyGroup> | |
| <ItemGroup> | |
| <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" /> | |
| </ItemGroup> | |
| <ItemGroup> | |
| <PackageReference Include="Newtonsoft.Json" Version="9.0.1" /> | |
| <PackageReference Include="NUnit" Version="3.10.1" /> | |
| <PackageReference Include="NUnitLite" Version="3.10.1" /> | |
| <PackageReference Include="OpenCover" Version="4.6.519" /> | |
| <PackageReference Include="ReportGenerator" Version="2.4.4.0" /> | |
| </ItemGroup> | |
| <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> | |
| <Reference Include="System" /> | |
| <Reference Include="Microsoft.CSharp" /> | |
| </ItemGroup> | |
| <ItemGroup> | |
| <Compile Include="..\Grpc.Core.Api\Version.cs" /> | |
| </ItemGroup> | |
| </Project> |