diff options
Diffstat (limited to 'src/csharp')
-rw-r--r-- | src/csharp/Grpc.Core/Grpc.Core.csproj | 6 |
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> |