aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-27 14:37:57 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-27 14:37:57 -0800
commitbd3df5f5f11714d0d9e5221dd51d4aae6151fa00 (patch)
tree1b3669243255cc372de6c1c9d00ee7a30b988549 /src
parent69dc65a32532ab0ef8eba5e88fbef7a2366fa6ca (diff)
fix conditional inclusion of grpc_csharp_ext.dll
Diffstat (limited to 'src')
-rw-r--r--src/csharp/Grpc.Core/Grpc.Core.csproj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csharp/Grpc.Core/Grpc.Core.csproj b/src/csharp/Grpc.Core/Grpc.Core.csproj
index de742f99ad..05d40d45a6 100644
--- a/src/csharp/Grpc.Core/Grpc.Core.csproj
+++ b/src/csharp/Grpc.Core/Grpc.Core.csproj
@@ -67,9 +67,9 @@
<Compile Include="Utils\ExceptionHelper.cs" />
</ItemGroup>
<Choose>
- <!-- Under Windows, automatically copy the C core library to output dir.
- Under Monodevelop it's not supported so it has no effect. -->
- <When Condition=" '$(Platform)' == 'AnyCPU' ">
+ <!-- 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\vs2013\Debug\grpc_csharp_ext.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>