• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <OutputType>Exe</OutputType>
8    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
9  </PropertyGroup>
10
11  <ItemGroup>
12    <ProjectReference Include="../Grpc.Auth/Grpc.Auth.csproj" />
13    <ProjectReference Include="../Grpc.Core/Grpc.Core.csproj" />
14  </ItemGroup>
15
16  <ItemGroup>
17    <PackageReference Include="Google.Protobuf" Version="$(GoogleProtobufVersion)" />
18    <PackageReference Include="CommandLineParser" Version="2.3.0" />
19    <PackageReference Include="NUnit" Version="3.10.1" />
20    <PackageReference Include="NUnitLite" Version="3.10.1" />
21  </ItemGroup>
22
23  <ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
24    <Reference Include="System" />
25    <Reference Include="Microsoft.CSharp" />
26  </ItemGroup>
27
28  <ItemGroup>
29    <Compile Include="..\Grpc.Core.Api\Version.cs" />
30  </ItemGroup>
31
32  <ItemGroup>
33    <Content Include="data\server1.pem">
34      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
35      <Pack>false</Pack>
36    </Content>
37    <Content Include="data\server1.key">
38      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
39      <Pack>false</Pack>
40    </Content>
41    <Content Include="data\ca.pem">
42      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
43      <Pack>false</Pack>
44    </Content>
45  </ItemGroup>
46
47</Project>
48