• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<Project Sdk="Microsoft.NET.Sdk">
2
3  <Import Project="..\Grpc.Core\Common.csproj.include" />
4
5  <PropertyGroup>
6    <TargetFrameworks>net45;netcoreapp2.1</TargetFrameworks>
7    <OutputType>Exe</OutputType>
8    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
9  </PropertyGroup>
10
11  <PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
12    <DefineConstants>$(DefineConstants);GRPC_SUPPORT_WATCH;</DefineConstants>
13  </PropertyGroup>
14
15  <ItemGroup>
16    <ProjectReference Include="../Grpc.HealthCheck/Grpc.HealthCheck.csproj" />
17    <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" />
18  </ItemGroup>
19
20  <ItemGroup>
21    <PackageReference Include="NUnit" Version="3.10.1" />
22    <PackageReference Include="NUnitLite" Version="3.10.1" />
23  </ItemGroup>
24
25  <ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
26    <Reference Include="System" />
27    <Reference Include="Microsoft.CSharp" />
28  </ItemGroup>
29
30  <ItemGroup>
31    <Compile Include="..\Grpc.Core.Api\Version.cs" />
32  </ItemGroup>
33
34</Project>
35