1<Project Sdk="Microsoft.NET.Sdk"> 2 <PropertyGroup> 3 <TargetFrameworks>net461;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="BenchmarkDotNet" Version="0.11.5" /> 15 </ItemGroup> 16 17 <ItemGroup Condition=" '$(TargetFramework)' == 'net461' "> 18 <Reference Include="System" /> 19 <Reference Include="Microsoft.CSharp" /> 20 </ItemGroup> 21 22 <ItemGroup> 23 <Compile Include="..\Grpc.Core.Api\Version.cs" /> 24 </ItemGroup> 25</Project> 26