Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 738 Bytes

BUILDING.md

File metadata and controls

33 lines (22 loc) · 738 Bytes

Building

Prerequisites:

  • .NET Core SDK 3.1

To build the packages, run:

./build.sh

This will build the C# code and run tests.

Regenerating event data classes

When the google-cloudevents repo is updated, the C# classes need to be regenerated:

./generate-code.sh

This will regenerate the proto-based classes in src/Google.Events.Protobuf/, as well as generating converter attributes and CloudEvent type constants.


If event data types or properties have been added, the tests for other serialization frameworks will fail. The tests should currently be fixed by manually adding the corresponding types and properties.