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