aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Grpc.Core.csproj
blob: 055aff14448583142a498b620c2f0241406e8ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.props" Condition="Exists('..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.props')" />
  <Import Project="..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.props" Condition="Exists('..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{CCC4440E-49F7-4790-B0AF-FEABB0837AE7}</ProjectGuid>
    <OutputType>Library</OutputType>
    <RootNamespace>Grpc.Core</RootNamespace>
    <AssemblyName>Grpc.Core</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <NuGetPackageImportStamp>8bb563fb</NuGetPackageImportStamp>
    <DocumentationFile>bin\$(Configuration)\Grpc.Core.Xml</DocumentationFile>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>DEBUG;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\ReleaseSigned</OutputPath>
    <DefineConstants>SIGNED</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <SignAssembly>True</SignAssembly>
    <AssemblyOriginatorKeyFile>C:\keys\Grpc.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Interactive.Async">
      <HintPath>..\packages\Ix-Async.1.2.3\lib\net45\System.Interactive.Async.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AsyncDuplexStreamingCall.cs" />
    <Compile Include="AsyncServerStreamingCall.cs" />
    <Compile Include="IClientStreamWriter.cs" />
    <Compile Include="IServerStreamWriter.cs" />
    <Compile Include="IAsyncStreamWriter.cs" />
    <Compile Include="IAsyncStreamReader.cs" />
    <Compile Include="ServerPort.cs" />
    <Compile Include="Version.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="RpcException.cs" />
    <Compile Include="Calls.cs" />
    <Compile Include="AsyncClientStreamingCall.cs" />
    <Compile Include="GrpcEnvironment.cs" />
    <Compile Include="Status.cs" />
    <Compile Include="StatusCode.cs" />
    <Compile Include="Server.cs" />
    <Compile Include="Channel.cs" />
    <Compile Include="Internal\CallSafeHandle.cs" />
    <Compile Include="Internal\ChannelSafeHandle.cs" />
    <Compile Include="Internal\CompletionQueueSafeHandle.cs" />
    <Compile Include="Internal\Enums.cs" />
    <Compile Include="Internal\SafeHandleZeroIsInvalid.cs" />
    <Compile Include="Internal\Timespec.cs" />
    <Compile Include="Internal\GrpcThreadPool.cs" />
    <Compile Include="Internal\ServerSafeHandle.cs" />
    <Compile Include="Method.cs" />
    <Compile Include="Internal\ServerCallHandler.cs" />
    <Compile Include="Marshaller.cs" />
    <Compile Include="ServerServiceDefinition.cs" />
    <Compile Include="Utils\AsyncStreamExtensions.cs" />
    <Compile Include="Utils\BenchmarkUtil.cs" />
    <Compile Include="Internal\CredentialsSafeHandle.cs" />
    <Compile Include="Credentials.cs" />
    <Compile Include="Internal\ChannelArgsSafeHandle.cs" />
    <Compile Include="Internal\AsyncCompletion.cs" />
    <Compile Include="Internal\AsyncCallBase.cs" />
    <Compile Include="Internal\AsyncCallServer.cs" />
    <Compile Include="Internal\AsyncCall.cs" />
    <Compile Include="Utils\Preconditions.cs" />
    <Compile Include="Internal\ServerCredentialsSafeHandle.cs" />
    <Compile Include="ServerCredentials.cs" />
    <Compile Include="Metadata.cs" />
    <Compile Include="Internal\MetadataArraySafeHandle.cs" />
    <Compile Include="ClientBase.cs" />
    <Compile Include="Internal\ServerCalls.cs" />
    <Compile Include="ServerMethods.cs" />
    <Compile Include="Internal\ClientRequestStream.cs" />
    <Compile Include="Internal\ClientResponseStream.cs" />
    <Compile Include="Internal\ServerRequestStream.cs" />
    <Compile Include="Internal\ServerResponseStream.cs" />
    <Compile Include="Internal\AtomicCounter.cs" />
    <Compile Include="Internal\DebugStats.cs" />
    <Compile Include="ServerCallContext.cs" />
    <Compile Include="Internal\CompletionQueueEvent.cs" />
    <Compile Include="Internal\CompletionRegistry.cs" />
    <Compile Include="Internal\BatchContextSafeHandle.cs" />
    <Compile Include="ChannelOptions.cs" />
    <Compile Include="AsyncUnaryCall.cs" />
    <Compile Include="VersionInfo.cs" />
    <Compile Include="Internal\CStringSafeHandle.cs" />
    <Compile Include="KeyCertificatePair.cs" />
    <Compile Include="Logging\ILogger.cs" />
    <Compile Include="Logging\ConsoleLogger.cs" />
    <Compile Include="Internal\NativeLogRedirector.cs" />
    <Compile Include="ChannelState.cs" />
    <Compile Include="CallInvocationDetails.cs" />
    <Compile Include="CallOptions.cs" />
    <Compile Include="CompressionLevel.cs" />
    <Compile Include="WriteOptions.cs" />
    <Compile Include="ContextPropagationToken.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Grpc.Core.nuspec" />
    <None Include="packages.config" />
  </ItemGroup>
  <Choose>
    <!-- Under older versions of Monodevelop, Choose is not supported and is just
         ignored, which gives us the desired effect. -->
    <When Condition=" '$(OS)' != 'Unix' ">
      <ItemGroup>
        <Content Include="..\..\..\vsprojects\Debug\grpc_csharp_ext.dll">
          <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
        </Content>
      </ItemGroup>
    </When>
    <Otherwise />
  </Choose>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <ItemGroup />
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.props'))" />
    <Error Condition="!Exists('..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.targets'))" />
    <Error Condition="!Exists('..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.props'))" />
    <Error Condition="!Exists('..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.targets'))" />
  </Target>
  <Import Project="..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.targets" Condition="Exists('..\packages\grpc.dependencies.openssl.redist.1.0.2.2\build\portable-net45\grpc.dependencies.openssl.redist.targets')" />
  <Import Project="..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.targets" Condition="Exists('..\packages\grpc.dependencies.zlib.redist.1.2.8.9\build\portable-net45\grpc.dependencies.zlib.redist.targets')" />
  <ItemGroup />
</Project>