Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.67 KB

File metadata and controls

33 lines (28 loc) · 1.67 KB

Couchbase.CodeGen

This project generates the gRPC stubs and proxies using the protos defined in the https://github.com/couchbase/protostellar repository. This project is intended to be used internally and is not required for general development as the stubs and proxies are committed to the https://github.com/couchbase/couchbase-net-client repo in the Couchbase.Stellar project.

How to use it:

- couchbase-net-client (cloned repo)
    - ..
    - src
        - ..
        - Couchbase.Stellar.CodeGen
        - ..
    - ..
- protostellar (cloned repo)

Example

$ mkdir repos
$ cd repos
$ git clone [email protected]:couchbase/couchbase-net-client.git
$ git clone [email protected]:couchbase/protostellar.git

Now the two repos will be adjacent to each other and the MSBuild code in Couchbase.Stellar.CodeGen will be able to generate the stubs and proxies from the protos.

Note that the Couchbase.Stellar.CodeGen project build is disabled in the solution build configuration. The build must be enabled for the code generation to work as it will happen when the project is built. Alternatively, run dotnet build in the Couchbase.Stellar.CodeGen folder.