1 <Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <TargetFrameworks>net45;netcoreapp2.1</TargetFrameworks>
4 <OutputType>Exe</OutputType>
5 <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
8 <Import Project="..\Grpc.Core\SourceLink.csproj.include" />
11 <ProjectReference Include="..\Grpc.Tools\Grpc.Tools.csproj" />
15 <PackageReference Include="Moq" Version="4.8.3" />
16 <PackageReference Include="NUnit; NUnitLite" Version="3.10.1" />
17 <PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
20 <PropertyGroup Condition=" '$(TargetFramework)' != 'net45' ">
21 <DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
24 <ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
25 <Reference Include="Microsoft.Build.Framework; Microsoft.Build.Utilities.v4.0" />
28 <ItemGroup Condition=" '$(TargetFramework)' != 'net45' ">
29 <PackageReference Include="Microsoft.Build.Framework; Microsoft.Build.Utilities.Core" Version="15.6.*" />