Jan Tattermusch 5 лет назад
Родитель
Сommit
1b9df95bb0
1 измененных файлов с 4 добавлено и 5 удалено
  1. 4 5
      src/csharp/Grpc.Core/build/net45/Grpc.Core.targets

+ 4 - 5
src/csharp/Grpc.Core/build/net45/Grpc.Core.targets

@@ -1,16 +1,15 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <!-- 
   <!-- 
-    'SkipGrpcNativeLibsCopying' should not be enabled in normal use.
+    'SkipGrpcNativeLibsCopy' should not be enabled in normal use.
 
 
     It only exists to support special scenarios where user wants to copy the native libraries
     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.
     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.
+    Only use this flag if you really know what you're doing. It's your responsibility to ensure that matching versions of 
+    the Grpc.Core.dll assembly and the native libraries are used at all times.
   -->
   -->
-  <ItemGroup Condition="'$(SkipGrpcNativeLibsCopying)' != 'true'">
+  <ItemGroup Condition="'$(SkipGrpcNativeLibsCopy)' != 'true'">
     <Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win\native\grpc_csharp_ext.x86.dll">
     <Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win\native\grpc_csharp_ext.x86.dll">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
       <Link>grpc_csharp_ext.x86.dll</Link>
       <Link>grpc_csharp_ext.x86.dll</Link>