Imported Upstream version 1.41.0
[platform/upstream/grpc.git] / src / csharp / Grpc.Core / build / net45 / Grpc.Core.targets
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <!-- 
4     'Grpc_SkipNativeLibsCopy' should not be enabled in normal use.
5
6     It only exists to support special scenarios where user wants to copy the native libraries
7     to output directory themselves, in a separate build step or script.
8
9     Only use this flag if you really know what you're doing. It's your responsibility to ensure that matching versions of 
10     the Grpc.Core.dll assembly and the native libraries are used at all times.
11   -->
12   <ItemGroup Condition="'$(Grpc_SkipNativeLibsCopy)' != 'true'">
13     <Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\grpc_csharp_ext.x86.dll">
14       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
15       <Link>grpc_csharp_ext.x86.dll</Link>
16       <Visible>false</Visible>
17       <NuGetPackageId>Grpc.Core</NuGetPackageId>
18     </Content>
19     <Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x64\native\grpc_csharp_ext.x64.dll">
20       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
21       <Link>grpc_csharp_ext.x64.dll</Link>
22       <Visible>false</Visible>
23       <NuGetPackageId>Grpc.Core</NuGetPackageId>
24     </Content>
25     <Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-x64\native\libgrpc_csharp_ext.x64.so">
26       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
27       <Link>libgrpc_csharp_ext.x64.so</Link>
28       <Visible>false</Visible>
29       <NuGetPackageId>Grpc.Core</NuGetPackageId>
30     </Content>
31     <Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\osx-x64\native\libgrpc_csharp_ext.x64.dylib">
32       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
33       <Link>libgrpc_csharp_ext.x64.dylib</Link>
34       <Visible>false</Visible>
35       <NuGetPackageId>Grpc.Core</NuGetPackageId>
36     </Content>
37   </ItemGroup>
38 </Project>