Grpc.Examples.csproj 654 B

123456789101112131415161718192021222324
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net45;netcoreapp2.1</TargetFrameworks>
  4. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  5. </PropertyGroup>
  6. <ItemGroup>
  7. <Compile Include="..\Grpc.Core.Api\Version.cs" />
  8. </ItemGroup>
  9. <ItemGroup>
  10. <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" />
  11. </ItemGroup>
  12. <ItemGroup>
  13. <PackageReference Include="Google.Protobuf" Version="$(GoogleProtobufVersion)" />
  14. </ItemGroup>
  15. <ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
  16. <Reference Include="System" />
  17. <Reference Include="Microsoft.CSharp" />
  18. </ItemGroup>
  19. </Project>