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