diff --git a/csharp/premake5.lua b/csharp/premake5.lua index 4ca8ef68..a6c29461 100644 --- a/csharp/premake5.lua +++ b/csharp/premake5.lua @@ -20,6 +20,10 @@ project "demo" targetdir "dist" clr "On" + defines { + "GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE" + } + files { "src/proto/Message.cs", "src/proto/Status.cs",