Code Monkey home page Code Monkey logo

grpcnativelibscopier's Introduction

GrpcNativeLibsCopier

This is an example .csproj file that copies Grpc native libraries (windows only) to set of target directories.

Intended to be used with Grpc_SkipNativeLibsCopy = true msbuild flag.

See also:

This is using Paket and is not buildable alone. Should be adapted for your real build environment.

Usage

Modify your problematic csproj file, or your global Directory.Build.props file if you have one, by adding the following rule:

  <PropertyGroup>
      <Grpc_SkipNativeLibsCopy>true</Grpc_SkipNativeLibsCopy>
  </PropertyGroup>

This will prevent Grpc.Core nuget package from trying to copy the file on it's own (because it can fail and kill your whole build).

Then, just run

msbuild GrpcNativeLibsCopier.csproj

somewhere in your build to actually copy your files.

Note that you need to add the wanted entries describing the target directories to the csproj files yourself. There is no automatic discovery whatsoever.

LICENSE

MIT

grpcnativelibscopier's People

Contributors

r0wi avatar vivainio avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

r0wi

grpcnativelibscopier's Issues

where does SkipGrpcNativeLibsCopy go

Hi

where is this Directory.Build.props file

-->Modify your Directory.Build.props file by adding the following rule:

even in your sample its no where

What is the license of this repository?

Hello @vivainio,

Can you please tell me what license this repository is under?
I want to use the following file: GrpcNativeLibsCopier/lazyco.py, but I don't know what the license is.

Thanks in advance! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.