1<Project Sdk="Microsoft.NET.Sdk"> 2 <PropertyGroup> 3 <TargetFrameworks>net45;netcoreapp2.1</TargetFrameworks> 4 <OutputType>Exe</OutputType> 5 <TreatWarningsAsErrors>true</TreatWarningsAsErrors> 6 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 7 </PropertyGroup> 8 9 <ItemGroup> 10 <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" /> 11 </ItemGroup> 12 13 <ItemGroup> 14 <PackageReference Include="Newtonsoft.Json" Version="9.0.1" /> 15 <PackageReference Include="NUnit" Version="3.10.1" /> 16 <PackageReference Include="NUnitLite" Version="3.10.1" /> 17 <PackageReference Include="OpenCover" Version="4.6.519" /> 18 <PackageReference Include="ReportGenerator" Version="2.4.4.0" /> 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