Include grpc_csharp_ext.dll only under Windows

pull/787/head
Jan Tattermusch 10 years ago
parent abf2202246
commit 5ffb4c33dc
  1. 7
      src/csharp/Grpc.Core/Grpc.Core.csproj

@ -66,10 +66,17 @@
<Compile Include="Utils\BenchmarkUtil.cs" /> <Compile Include="Utils\BenchmarkUtil.cs" />
<Compile Include="Utils\ExceptionHelper.cs" /> <Compile Include="Utils\ExceptionHelper.cs" />
</ItemGroup> </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)' == 'x86' ">
<ItemGroup> <ItemGroup>
<Content Include="..\..\..\vsprojects\vs2013\Debug\grpc_csharp_ext.dll"> <Content Include="..\..\..\vsprojects\vs2013\Debug\grpc_csharp_ext.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup> </ItemGroup>
</When>
<Otherwise/>
</Choose>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>
Loading…
Cancel
Save