Skip to content

Commit 15e0831

Browse files
committed
Adding how to update FlatBuffers code to the README
1 parent 043ce7e commit 15e0831

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

csharp/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,11 @@ Build from the Apache Arrow project root.
148148
dotnet test test/Apache.Arrow.Tests
149149

150150
All build artifacts are placed in the **artifacts** folder in the project root.
151+
152+
# Updating FlatBuffers code
153+
154+
See https://google.github.io/flatbuffers/flatbuffers_guide_use_java_c-sharp.html for how to get the `flatc` executable.
155+
156+
Run `flatc --csharp` on each `.fbs` file in the [format](../format) folder. And replace the checked in `.cs` files under [FlatBuf](src/Apache.Arrow/Flatbuf) with the generated files.
157+
158+
Update the non-generated [FlatBuffers](src/Apache.Arrow/Flatbuf/FlatBuffers) `.cs` files with the files from the [google/flatbuffers repo](https://github.com/google/flatbuffers/tree/master/net/FlatBuffers).

0 commit comments

Comments
 (0)