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 <ItemGroup> 12 <ProjectReference Include="../Grpc.Reflection/Grpc.Reflection.csproj" /> 13 <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" /> 14 </ItemGroup> 15 16 <ItemGroup> 17 <PackageReference Include="NUnit" Version="3.10.1" /> 18 <PackageReference Include="NUnitLite" Version="3.10.1" /> 19 </ItemGroup> 20 21 <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> 22 <Reference Include="System" /> 23 <Reference Include="Microsoft.CSharp" /> 24 </ItemGroup> 25 26 <ItemGroup> 27 <Compile Include="..\Grpc.Core.Api\Version.cs" /> 28 </ItemGroup> 29 30</Project> 31