SkipGrpcNativeLibsCopying flag

pull/22894/head
Ville M. Vainio 5 years ago
parent 8174dbdd50
commit c6723399b8
  1. 12
      src/csharp/Grpc.Core/build/net45/Grpc.Core.targets

@ -1,6 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<!--
'SkipGrpcNativeLibsCopying' should not be enabled in normal use.
It only exists to support special scenarios where user wants to copy the native libraries
to output directory themselves, in a separate build step or script.
If you use this flag, it's your responsibility to ensure that correct versions of
native libraries are used at all times. Mismatching native and managed library
versions are not supported.
-->
<ItemGroup Condition="'$(SkipGrpcNativeLibsCopying)' == ''">
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win\native\grpc_csharp_ext.x86.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Link>grpc_csharp_ext.x86.dll</Link>

Loading…
Cancel
Save