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 <TreatWarningsAsErrors>true</TreatWarningsAsErrors> 8 </PropertyGroup> 9 10 <ItemGroup> 11 <Compile Include="..\Grpc.Core.Api\Version.cs" /> 12 </ItemGroup> 13 14 <ItemGroup> 15 <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" /> 16 </ItemGroup> 17 18 <ItemGroup> 19 <PackageReference Include="Google.Protobuf" Version="$(GoogleProtobufVersion)" /> 20 </ItemGroup> 21 22 <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> 23 <Reference Include="System" /> 24 <Reference Include="Microsoft.CSharp" /> 25 </ItemGroup> 26 27</Project> 28