1<Project Sdk="Microsoft.NET.Sdk"> 2 <PropertyGroup> 3 <TargetFrameworks>net45;netcoreapp2.1</TargetFrameworks> 4 <OutputType>Exe</OutputType> 5 <TreatWarningsAsErrors>true</TreatWarningsAsErrors> 6 </PropertyGroup> 7 8 <ItemGroup> 9 <ProjectReference Include="../Grpc.Reflection/Grpc.Reflection.csproj" /> 10 <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" /> 11 </ItemGroup> 12 13 <ItemGroup> 14 <PackageReference Include="NUnit" Version="3.10.1" /> 15 <PackageReference Include="NUnitLite" Version="3.10.1" /> 16 </ItemGroup> 17 18 <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> 19 <Reference Include="System" /> 20 <Reference Include="Microsoft.CSharp" /> 21 </ItemGroup> 22 23 <ItemGroup> 24 <Compile Include="..\Grpc.Core.Api\Version.cs" /> 25 </ItemGroup> 26 27</Project> 28